< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_IsBatchSuccessful()-100%100%
get_Images()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.CustomVision.Training\src\Generated\Models\ImageMetadataUpdateSummary.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 ImageMetadataUpdateSummary
 19    {
 20        /// <summary>
 21        /// Initializes a new instance of the ImageMetadataUpdateSummary class.
 22        /// </summary>
 223        public ImageMetadataUpdateSummary()
 24        {
 25            CustomInit();
 226        }
 27
 28        /// <summary>
 29        /// Initializes a new instance of the ImageMetadataUpdateSummary class.
 30        /// </summary>
 031        public ImageMetadataUpdateSummary(bool isBatchSuccessful = default(bool), IList<ImageMetadataUpdateEntry> images
 32        {
 033            IsBatchSuccessful = isBatchSuccessful;
 034            Images = images;
 35            CustomInit();
 036        }
 37
 38        /// <summary>
 39        /// An initialization method that performs custom operations like setting defaults
 40        /// </summary>
 41        partial void CustomInit();
 42
 43        /// <summary>
 44        /// </summary>
 45        [JsonProperty(PropertyName = "isBatchSuccessful")]
 446        public bool IsBatchSuccessful { get; private set; }
 47
 48        /// <summary>
 49        /// </summary>
 50        [JsonProperty(PropertyName = "images")]
 1251        public IList<ImageMetadataUpdateEntry> Images { get; private set; }
 52
 53    }
 54}