< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
.ctor(...)-0%100%
get_Bottom()-0%100%
get_Left()-0%100%
get_Right()-0%100%
get_Top()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.ContentModerator\src\Generated\Models\Face.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.Linq;
 11
 12    /// <summary>
 13    /// Coordinates to the found face.
 14    /// </summary>
 15    public partial class Face
 16    {
 17        /// <summary>
 18        /// Initializes a new instance of the Face class.
 19        /// </summary>
 020        public Face()
 21        {
 22            CustomInit();
 023        }
 24
 25        /// <summary>
 26        /// Initializes a new instance of the Face class.
 27        /// </summary>
 28        /// <param name="bottom">The bottom coordinate.</param>
 29        /// <param name="left">The left coordinate.</param>
 30        /// <param name="right">The right coordinate.</param>
 31        /// <param name="top">The top coordinate.</param>
 032        public Face(int? bottom = default(int?), int? left = default(int?), int? right = default(int?), int? top = defau
 33        {
 034            Bottom = bottom;
 035            Left = left;
 036            Right = right;
 037            Top = top;
 38            CustomInit();
 039        }
 40
 41        /// <summary>
 42        /// An initialization method that performs custom operations like setting defaults
 43        /// </summary>
 44        partial void CustomInit();
 45
 46        /// <summary>
 47        /// Gets or sets the bottom coordinate.
 48        /// </summary>
 49        [JsonProperty(PropertyName = "Bottom")]
 050        public int? Bottom { get; set; }
 51
 52        /// <summary>
 53        /// Gets or sets the left coordinate.
 54        /// </summary>
 55        [JsonProperty(PropertyName = "Left")]
 056        public int? Left { get; set; }
 57
 58        /// <summary>
 59        /// Gets or sets the right coordinate.
 60        /// </summary>
 61        [JsonProperty(PropertyName = "Right")]
 062        public int? Right { get; set; }
 63
 64        /// <summary>
 65        /// Gets or sets the top coordinate.
 66        /// </summary>
 67        [JsonProperty(PropertyName = "Top")]
 068        public int? Top { get; set; }
 69
 70    }
 71}