< Summary

Class:Microsoft.Azure.CognitiveServices.Search.LocalSearch.Models.StructuredValue
Assembly:Microsoft.Azure.CognitiveServices.Search.BingLocalSearch
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Search.BingLocalSearch\src\Generated\LocalSearch\Models\StructuredValue.cs
Covered lines:0
Uncovered lines:6
Coverable lines:6
Total lines:60
Line coverage:0% (0 of 6)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
.ctor(...)-0%100%
Validate()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Search.BingLocalSearch\src\Generated\LocalSearch\Models\StructuredValue.cs

#LineLine coverage
 1// <auto-generated>
 2// Code generated by Microsoft (R) AutoRest Code Generator.
 3// Changes may cause incorrect behavior and will be lost if the code is
 4// regenerated.
 5// </auto-generated>
 6
 7namespace Microsoft.Azure.CognitiveServices.Search.LocalSearch.Models
 8{
 9    using System.Collections;
 10    using System.Collections.Generic;
 11    using System.Linq;
 12
 13    public partial class StructuredValue : Intangible
 14    {
 15        /// <summary>
 16        /// Initializes a new instance of the StructuredValue class.
 17        /// </summary>
 018        public StructuredValue()
 19        {
 20            CustomInit();
 021        }
 22
 23        /// <summary>
 24        /// Initializes a new instance of the StructuredValue class.
 25        /// </summary>
 26        /// <param name="id">A String identifier.</param>
 27        /// <param name="readLink">The URL that returns this resource.</param>
 28        /// <param name="webSearchUrl">The URL to Bing's search result for this
 29        /// item.</param>
 30        /// <param name="name">The name of the thing represented by this
 31        /// object.</param>
 32        /// <param name="url">The URL to get more information about the thing
 33        /// represented by this object.</param>
 34        /// <param name="entityPresentationInfo">Additional information about
 35        /// the entity such as hints that you can use to determine the entity's
 36        /// type. To determine the entity's type, use the entityScenario and
 37        /// entityTypeHint fields.</param>
 38        public StructuredValue(string id = default(string), string readLink = default(string), string webSearchUrl = def
 039            : base(id, readLink, webSearchUrl, potentialAction, immediateAction, preferredClickthroughUrl, adaptiveCard,
 40        {
 41            CustomInit();
 042        }
 43
 44        /// <summary>
 45        /// An initialization method that performs custom operations like setting defaults
 46        /// </summary>
 47        partial void CustomInit();
 48
 49        /// <summary>
 50        /// Validate the object.
 51        /// </summary>
 52        /// <exception cref="Rest.ValidationException">
 53        /// Thrown if validation fails
 54        /// </exception>
 55        public override void Validate()
 56        {
 057            base.Validate();
 058        }
 59    }
 60}

Methods/Properties

.ctor()
.ctor(...)
Validate()