< Summary

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

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Search.BingVisualSearch\src\Generated\Models\RelatedSearchesModule.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 Newtonsoft.Json;
 10    using System.Collections;
 11    using System.Collections.Generic;
 12    using System.Linq;
 13
 14    /// <summary>
 15    /// Defines a list of related searches.
 16    /// </summary>
 17    public partial class RelatedSearchesModule
 18    {
 19        /// <summary>
 20        /// Initializes a new instance of the RelatedSearchesModule class.
 21        /// </summary>
 422        public RelatedSearchesModule()
 23        {
 24            CustomInit();
 425        }
 26
 27        /// <summary>
 28        /// Initializes a new instance of the RelatedSearchesModule class.
 29        /// </summary>
 30        /// <param name="value">A list of related searches.</param>
 031        public RelatedSearchesModule(IList<Query> value = default(IList<Query>))
 32        {
 033            Value = value;
 34            CustomInit();
 035        }
 36
 37        /// <summary>
 38        /// An initialization method that performs custom operations like setting defaults
 39        /// </summary>
 40        partial void CustomInit();
 41
 42        /// <summary>
 43        /// Gets a list of related searches.
 44        /// </summary>
 45        [JsonProperty(PropertyName = "value")]
 846        public IList<Query> Value { get; private set; }
 47
 48    }
 49}

Methods/Properties

.ctor()
.ctor(...)
get_Value()