< Summary

Class:Microsoft.Azure.CognitiveServices.Search.NewsSearch.Models.Organization
Assembly:Microsoft.Azure.CognitiveServices.Search.BingNewsSearch
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Search.BingNewsSearch\src\Generated\NewsSearch\Models\Organization.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.BingNewsSearch\src\Generated\NewsSearch\Models\Organization.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.NewsSearch.Models
 8{
 9    using System.Linq;
 10
 11    /// <summary>
 12    /// Defines an organization.
 13    /// </summary>
 14    public partial class Organization : Thing
 15    {
 16        /// <summary>
 17        /// Initializes a new instance of the Organization class.
 18        /// </summary>
 3019        public Organization()
 20        {
 21            CustomInit();
 3022        }
 23
 24        /// <summary>
 25        /// Initializes a new instance of the Organization class.
 26        /// </summary>
 27        /// <param name="id">A String identifier.</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 Organization(string id = default(string), string webSearchUrl = default(string), string name = default(st
 040            : base(id, 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(...)