< Summary

Class:Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.StructuredValue
Assembly:Microsoft.Azure.CognitiveServices.Search.BingVisualSearch
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Search.BingVisualSearch\src\Generated\Models\StructuredValue.cs
Covered lines:2
Uncovered lines:2
Coverable lines:4
Total lines:51
Line coverage:50% (2 of 4)
Covered branches:0
Total branches:0

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Search.BingVisualSearch\src\Generated\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.VisualSearch.Models
 8{
 9    using System.Linq;
 10
 11    public partial class StructuredValue : Intangible
 12    {
 13        /// <summary>
 14        /// Initializes a new instance of the StructuredValue class.
 15        /// </summary>
 28016        public StructuredValue()
 17        {
 18            CustomInit();
 28019        }
 20
 21        /// <summary>
 22        /// Initializes a new instance of the StructuredValue class.
 23        /// </summary>
 24        /// <param name="id">A String identifier.</param>
 25        /// <param name="readLink">The URL that returns this resource. To use
 26        /// the URL, append query parameters as appropriate and include the
 27        /// Ocp-Apim-Subscription-Key header.</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="image">An image of the item.</param>
 35        /// <param name="description">A short description of the item.</param>
 36        /// <param name="alternateName">An alias for the item.</param>
 37        /// <param name="bingId">An ID that uniquely identifies this
 38        /// item.</param>
 39        public StructuredValue(string id = default(string), string readLink = default(string), string webSearchUrl = def
 040            : base(id, readLink, webSearchUrl, name, url, image, description, alternateName, bingId)
 41        {
 42            CustomInit();
 043        }
 44
 45        /// <summary>
 46        /// An initialization method that performs custom operations like setting defaults
 47        /// </summary>
 48        partial void CustomInit();
 49
 50    }
 51}

Methods/Properties

.ctor()
.ctor(...)