< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_TagId()-100%100%
get_TagName()-100%100%
get_Created()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.CustomVision.Training\src\Generated\Models\ImageTag.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.Linq;
 15
 16    public partial class ImageTag
 17    {
 18        /// <summary>
 19        /// Initializes a new instance of the ImageTag class.
 20        /// </summary>
 27421        public ImageTag()
 22        {
 23            CustomInit();
 27424        }
 25
 26        /// <summary>
 27        /// Initializes a new instance of the ImageTag class.
 28        /// </summary>
 029        public ImageTag(System.Guid tagId = default(System.Guid), string tagName = default(string), System.DateTime crea
 30        {
 031            TagId = tagId;
 032            TagName = tagName;
 033            Created = created;
 34            CustomInit();
 035        }
 36
 37        /// <summary>
 38        /// An initialization method that performs custom operations like setting defaults
 39        /// </summary>
 40        partial void CustomInit();
 41
 42        /// <summary>
 43        /// </summary>
 44        [JsonProperty(PropertyName = "tagId")]
 30845        public System.Guid TagId { get; private set; }
 46
 47        /// <summary>
 48        /// </summary>
 49        [JsonProperty(PropertyName = "tagName")]
 27850        public string TagName { get; private set; }
 51
 52        /// <summary>
 53        /// </summary>
 54        [JsonProperty(PropertyName = "created")]
 055        public System.DateTime Created { get; private set; }
 56
 57    }
 58}