< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
.ctor(...)-0%100%
get_Predictions()-0%100%
get_Id()-0%100%
get_Created()-0%100%
get_Width()-0%100%
get_Height()-0%100%
get_ImageUri()-0%100%
get_ThumbnailUri()-0%100%
get_Tags()-0%100%
get_Regions()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.CustomVision.Training\src\Generated\Models\ImagePerformance.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    /// <summary>
 19    /// Image performance model.
 20    /// </summary>
 21    public partial class ImagePerformance
 22    {
 23        /// <summary>
 24        /// Initializes a new instance of the ImagePerformance class.
 25        /// </summary>
 026        public ImagePerformance()
 27        {
 28            CustomInit();
 029        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the ImagePerformance class.
 33        /// </summary>
 034        public ImagePerformance(IList<Prediction> predictions = default(IList<Prediction>), System.Guid id = default(Sys
 35        {
 036            Predictions = predictions;
 037            Id = id;
 038            Created = created;
 039            Width = width;
 040            Height = height;
 041            ImageUri = imageUri;
 042            ThumbnailUri = thumbnailUri;
 043            Tags = tags;
 044            Regions = regions;
 45            CustomInit();
 046        }
 47
 48        /// <summary>
 49        /// An initialization method that performs custom operations like setting defaults
 50        /// </summary>
 51        partial void CustomInit();
 52
 53        /// <summary>
 54        /// </summary>
 55        [JsonProperty(PropertyName = "predictions")]
 056        public IList<Prediction> Predictions { get; private set; }
 57
 58        /// <summary>
 59        /// </summary>
 60        [JsonProperty(PropertyName = "id")]
 061        public System.Guid Id { get; private set; }
 62
 63        /// <summary>
 64        /// </summary>
 65        [JsonProperty(PropertyName = "created")]
 066        public System.DateTime Created { get; private set; }
 67
 68        /// <summary>
 69        /// </summary>
 70        [JsonProperty(PropertyName = "width")]
 071        public int Width { get; private set; }
 72
 73        /// <summary>
 74        /// </summary>
 75        [JsonProperty(PropertyName = "height")]
 076        public int Height { get; private set; }
 77
 78        /// <summary>
 79        /// </summary>
 80        [JsonProperty(PropertyName = "imageUri")]
 081        public string ImageUri { get; private set; }
 82
 83        /// <summary>
 84        /// </summary>
 85        [JsonProperty(PropertyName = "thumbnailUri")]
 086        public string ThumbnailUri { get; private set; }
 87
 88        /// <summary>
 89        /// </summary>
 90        [JsonProperty(PropertyName = "tags")]
 091        public IList<ImageTag> Tags { get; private set; }
 92
 93        /// <summary>
 94        /// </summary>
 95        [JsonProperty(PropertyName = "regions")]
 096        public IList<ImageRegion> Regions { get; private set; }
 97
 98    }
 99}