< Summary

Class:Microsoft.Azure.CognitiveServices.ContentModerator.Models.FoundFaces
Assembly:Microsoft.Azure.CognitiveServices.Vision.ContentModerator
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.ContentModerator\src\Generated\Models\FoundFaces.cs
Covered lines:0
Uncovered lines:18
Coverable lines:18
Total lines:97
Line coverage:0% (0 of 18)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
.ctor(...)-0%100%
get_Status()-0%100%
get_TrackingId()-0%100%
get_CacheId()-0%100%
get_Result()-0%100%
get_Count()-0%100%
get_AdvancedInfo()-0%100%
get_Faces()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.ContentModerator\src\Generated\Models\FoundFaces.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.ContentModerator.Models
 8{
 9    using Newtonsoft.Json;
 10    using System.Collections;
 11    using System.Collections.Generic;
 12    using System.Linq;
 13
 14    /// <summary>
 15    /// Request object the contains found faces.
 16    /// </summary>
 17    public partial class FoundFaces
 18    {
 19        /// <summary>
 20        /// Initializes a new instance of the FoundFaces class.
 21        /// </summary>
 022        public FoundFaces()
 23        {
 24            CustomInit();
 025        }
 26
 27        /// <summary>
 28        /// Initializes a new instance of the FoundFaces class.
 29        /// </summary>
 30        /// <param name="status">The evaluate status</param>
 31        /// <param name="trackingId">The tracking id.</param>
 32        /// <param name="cacheId">The cache id.</param>
 33        /// <param name="result">True if result was found.</param>
 34        /// <param name="count">Number of faces found.</param>
 35        /// <param name="advancedInfo">The advanced info.</param>
 36        /// <param name="faces">The list of faces.</param>
 037        public FoundFaces(Status status = default(Status), string trackingId = default(string), string cacheId = default
 38        {
 039            Status = status;
 040            TrackingId = trackingId;
 041            CacheId = cacheId;
 042            Result = result;
 043            Count = count;
 044            AdvancedInfo = advancedInfo;
 045            Faces = faces;
 46            CustomInit();
 047        }
 48
 49        /// <summary>
 50        /// An initialization method that performs custom operations like setting defaults
 51        /// </summary>
 52        partial void CustomInit();
 53
 54        /// <summary>
 55        /// Gets or sets the evaluate status
 56        /// </summary>
 57        [JsonProperty(PropertyName = "Status")]
 058        public Status Status { get; set; }
 59
 60        /// <summary>
 61        /// Gets or sets the tracking id.
 62        /// </summary>
 63        [JsonProperty(PropertyName = "TrackingId")]
 064        public string TrackingId { get; set; }
 65
 66        /// <summary>
 67        /// Gets or sets the cache id.
 68        /// </summary>
 69        [JsonProperty(PropertyName = "CacheId")]
 070        public string CacheId { get; set; }
 71
 72        /// <summary>
 73        /// Gets or sets true if result was found.
 74        /// </summary>
 75        [JsonProperty(PropertyName = "Result")]
 076        public bool? Result { get; set; }
 77
 78        /// <summary>
 79        /// Gets or sets number of faces found.
 80        /// </summary>
 81        [JsonProperty(PropertyName = "Count")]
 082        public int? Count { get; set; }
 83
 84        /// <summary>
 85        /// Gets or sets the advanced info.
 86        /// </summary>
 87        [JsonProperty(PropertyName = "AdvancedInfo")]
 088        public IList<KeyValuePair> AdvancedInfo { get; set; }
 89
 90        /// <summary>
 91        /// Gets or sets the list of faces.
 92        /// </summary>
 93        [JsonProperty(PropertyName = "Faces")]
 094        public IList<Face> Faces { get; set; }
 95
 96    }
 97}