< Summary

Class:Microsoft.Azure.CognitiveServices.Search.CustomSearch.Models.WebMetaTag
Assembly:Microsoft.Azure.CognitiveServices.Search.BingCustomSearch
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Search.BingCustomSearch\src\Generated\CustomSearch\Models\WebMetaTag.cs
Covered lines:0
Uncovered lines:8
Coverable lines:8
Total lines:55
Line coverage:0% (0 of 8)
Covered branches:0
Total branches:0

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Search.BingCustomSearch\src\Generated\CustomSearch\Models\WebMetaTag.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.CustomSearch.Models
 8{
 9    using Newtonsoft.Json;
 10    using System.Linq;
 11
 12    /// <summary>
 13    /// Defines a webpage's metadata.
 14    /// </summary>
 15    public partial class WebMetaTag
 16    {
 17        /// <summary>
 18        /// Initializes a new instance of the WebMetaTag class.
 19        /// </summary>
 020        public WebMetaTag()
 21        {
 22            CustomInit();
 023        }
 24
 25        /// <summary>
 26        /// Initializes a new instance of the WebMetaTag class.
 27        /// </summary>
 28        /// <param name="name">The metadata.</param>
 29        /// <param name="content">The name of the metadata.</param>
 030        public WebMetaTag(string name = default(string), string content = default(string))
 31        {
 032            Name = name;
 033            Content = content;
 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 the metadata.
 44        /// </summary>
 45        [JsonProperty(PropertyName = "name")]
 046        public string Name { get; private set; }
 47
 48        /// <summary>
 49        /// Gets the name of the metadata.
 50        /// </summary>
 51        [JsonProperty(PropertyName = "content")]
 052        public string Content { get; private set; }
 53
 54    }
 55}