< Summary

Class:Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models.CategoryDetail
Assembly:Microsoft.Azure.CognitiveServices.Vision.ComputerVision
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.ComputerVision\src\Generated\Models\CategoryDetail.cs
Covered lines:0
Uncovered lines:8
Coverable lines:8
Total lines:63
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_Celebrities()-0%100%
get_Landmarks()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.ComputerVision\src\Generated\Models\CategoryDetail.cs

#LineLine coverage
 1// <auto-generated>
 2// Copyright (c) Microsoft Corporation. All rights reserved.
 3// Licensed under the MIT License. See License.txt in the project root for
 4// license information.
 5//
 6// Code generated by Microsoft (R) AutoRest Code Generator.
 7// Changes may cause incorrect behavior and will be lost if the code is
 8// regenerated.
 9// </auto-generated>
 10
 11namespace Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Collections;
 15    using System.Collections.Generic;
 16    using System.Linq;
 17
 18    /// <summary>
 19    /// An object describing additional category details.
 20    /// </summary>
 21    public partial class CategoryDetail
 22    {
 23        /// <summary>
 24        /// Initializes a new instance of the CategoryDetail class.
 25        /// </summary>
 026        public CategoryDetail()
 27        {
 28            CustomInit();
 029        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the CategoryDetail class.
 33        /// </summary>
 34        /// <param name="celebrities">An array of celebrities if any
 35        /// identified.</param>
 36        /// <param name="landmarks">An array of landmarks if any
 37        /// identified.</param>
 038        public CategoryDetail(IList<CelebritiesModel> celebrities = default(IList<CelebritiesModel>), IList<LandmarksMod
 39        {
 040            Celebrities = celebrities;
 041            Landmarks = landmarks;
 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        /// <summary>
 51        /// Gets or sets an array of celebrities if any identified.
 52        /// </summary>
 53        [JsonProperty(PropertyName = "celebrities")]
 054        public IList<CelebritiesModel> Celebrities { get; set; }
 55
 56        /// <summary>
 57        /// Gets or sets an array of landmarks if any identified.
 58        /// </summary>
 59        [JsonProperty(PropertyName = "landmarks")]
 060        public IList<LandmarksModel> Landmarks { get; set; }
 61
 62    }
 63}