< Summary

Class:Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageRegionCreateSummary
Assembly:Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.CustomVision.Training\src\Generated\Models\ImageRegionCreateSummary.cs
Covered lines:5
Uncovered lines:5
Coverable lines:10
Total lines:60
Line coverage:50% (5 of 10)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_Created()-100%100%
get_Duplicated()-100%100%
get_Exceeded()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.CustomVision.Training\src\Generated\Models\ImageRegionCreateSummary.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.CustomVision.Training.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Collections;
 15    using System.Collections.Generic;
 16    using System.Linq;
 17
 18    public partial class ImageRegionCreateSummary
 19    {
 20        /// <summary>
 21        /// Initializes a new instance of the ImageRegionCreateSummary class.
 22        /// </summary>
 223        public ImageRegionCreateSummary()
 24        {
 25            CustomInit();
 226        }
 27
 28        /// <summary>
 29        /// Initializes a new instance of the ImageRegionCreateSummary class.
 30        /// </summary>
 031        public ImageRegionCreateSummary(IList<ImageRegionCreateResult> created = default(IList<ImageRegionCreateResult>)
 32        {
 033            Created = created;
 034            Duplicated = duplicated;
 035            Exceeded = exceeded;
 36            CustomInit();
 037        }
 38
 39        /// <summary>
 40        /// An initialization method that performs custom operations like setting defaults
 41        /// </summary>
 42        partial void CustomInit();
 43
 44        /// <summary>
 45        /// </summary>
 46        [JsonProperty(PropertyName = "created")]
 2247        public IList<ImageRegionCreateResult> Created { get; set; }
 48
 49        /// <summary>
 50        /// </summary>
 51        [JsonProperty(PropertyName = "duplicated")]
 652        public IList<ImageRegionCreateEntry> Duplicated { get; set; }
 53
 54        /// <summary>
 55        /// </summary>
 56        [JsonProperty(PropertyName = "exceeded")]
 657        public IList<ImageRegionCreateEntry> Exceeded { get; set; }
 58
 59    }
 60}