| | 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 | |
|
| | 11 | | namespace 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> |
| 0 | 26 | | public ImagePerformance() |
| | 27 | | { |
| | 28 | | CustomInit(); |
| 0 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Initializes a new instance of the ImagePerformance class. |
| | 33 | | /// </summary> |
| 0 | 34 | | public ImagePerformance(IList<Prediction> predictions = default(IList<Prediction>), System.Guid id = default(Sys |
| | 35 | | { |
| 0 | 36 | | Predictions = predictions; |
| 0 | 37 | | Id = id; |
| 0 | 38 | | Created = created; |
| 0 | 39 | | Width = width; |
| 0 | 40 | | Height = height; |
| 0 | 41 | | ImageUri = imageUri; |
| 0 | 42 | | ThumbnailUri = thumbnailUri; |
| 0 | 43 | | Tags = tags; |
| 0 | 44 | | Regions = regions; |
| | 45 | | CustomInit(); |
| 0 | 46 | | } |
| | 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")] |
| 0 | 56 | | public IList<Prediction> Predictions { get; private set; } |
| | 57 | |
|
| | 58 | | /// <summary> |
| | 59 | | /// </summary> |
| | 60 | | [JsonProperty(PropertyName = "id")] |
| 0 | 61 | | public System.Guid Id { get; private set; } |
| | 62 | |
|
| | 63 | | /// <summary> |
| | 64 | | /// </summary> |
| | 65 | | [JsonProperty(PropertyName = "created")] |
| 0 | 66 | | public System.DateTime Created { get; private set; } |
| | 67 | |
|
| | 68 | | /// <summary> |
| | 69 | | /// </summary> |
| | 70 | | [JsonProperty(PropertyName = "width")] |
| 0 | 71 | | public int Width { get; private set; } |
| | 72 | |
|
| | 73 | | /// <summary> |
| | 74 | | /// </summary> |
| | 75 | | [JsonProperty(PropertyName = "height")] |
| 0 | 76 | | public int Height { get; private set; } |
| | 77 | |
|
| | 78 | | /// <summary> |
| | 79 | | /// </summary> |
| | 80 | | [JsonProperty(PropertyName = "imageUri")] |
| 0 | 81 | | public string ImageUri { get; private set; } |
| | 82 | |
|
| | 83 | | /// <summary> |
| | 84 | | /// </summary> |
| | 85 | | [JsonProperty(PropertyName = "thumbnailUri")] |
| 0 | 86 | | public string ThumbnailUri { get; private set; } |
| | 87 | |
|
| | 88 | | /// <summary> |
| | 89 | | /// </summary> |
| | 90 | | [JsonProperty(PropertyName = "tags")] |
| 0 | 91 | | public IList<ImageTag> Tags { get; private set; } |
| | 92 | |
|
| | 93 | | /// <summary> |
| | 94 | | /// </summary> |
| | 95 | | [JsonProperty(PropertyName = "regions")] |
| 0 | 96 | | public IList<ImageRegion> Regions { get; private set; } |
| | 97 | |
|
| | 98 | | } |
| | 99 | | } |