|   |  | 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 |  |     /// Result of an image prediction request. | 
|   |  | 20 |  |     /// </summary> | 
|   |  | 21 |  |     public partial class StoredImagePrediction | 
|   |  | 22 |  |     { | 
|   |  | 23 |  |         /// <summary> | 
|   |  | 24 |  |         /// Initializes a new instance of the StoredImagePrediction class. | 
|   |  | 25 |  |         /// </summary> | 
|   | 4 | 26 |  |         public StoredImagePrediction() | 
|   |  | 27 |  |         { | 
|   |  | 28 |  |             CustomInit(); | 
|   | 4 | 29 |  |         } | 
|   |  | 30 |  |  | 
|   |  | 31 |  |         /// <summary> | 
|   |  | 32 |  |         /// Initializes a new instance of the StoredImagePrediction class. | 
|   |  | 33 |  |         /// </summary> | 
|   |  | 34 |  |         /// <param name="resizedImageUri">The URI to the (resized) prediction | 
|   |  | 35 |  |         /// image. If VNET feature is enabled this will be a relative path to | 
|   |  | 36 |  |         /// be used with GetArtifact, otherwise this will be an absolute URI to | 
|   |  | 37 |  |         /// the resource.</param> | 
|   |  | 38 |  |         /// <param name="thumbnailUri">The URI to the thumbnail of the original | 
|   |  | 39 |  |         /// prediction image. If VNET feature is enabled this will be a | 
|   |  | 40 |  |         /// relative path to be used with GetArtifact, otherwise this will be | 
|   |  | 41 |  |         /// an absolute URI to the resource.</param> | 
|   |  | 42 |  |         /// <param name="originalImageUri">The URI to the original prediction | 
|   |  | 43 |  |         /// image. If VNET feature is enabled this will be a relative path to | 
|   |  | 44 |  |         /// be used with GetArtifact, otherwise this will be an absolute URI to | 
|   |  | 45 |  |         /// the resource.</param> | 
|   |  | 46 |  |         /// <param name="domain">Domain used for the prediction.</param> | 
|   |  | 47 |  |         /// <param name="id">Prediction Id.</param> | 
|   |  | 48 |  |         /// <param name="project">Project Id.</param> | 
|   |  | 49 |  |         /// <param name="iteration">Iteration Id.</param> | 
|   |  | 50 |  |         /// <param name="created">Date this prediction was created.</param> | 
|   |  | 51 |  |         /// <param name="predictions">List of predictions.</param> | 
|   | 0 | 52 |  |         public StoredImagePrediction(string resizedImageUri = default(string), string thumbnailUri = default(string), st | 
|   |  | 53 |  |         { | 
|   | 0 | 54 |  |             ResizedImageUri = resizedImageUri; | 
|   | 0 | 55 |  |             ThumbnailUri = thumbnailUri; | 
|   | 0 | 56 |  |             OriginalImageUri = originalImageUri; | 
|   | 0 | 57 |  |             Domain = domain; | 
|   | 0 | 58 |  |             Id = id; | 
|   | 0 | 59 |  |             Project = project; | 
|   | 0 | 60 |  |             Iteration = iteration; | 
|   | 0 | 61 |  |             Created = created; | 
|   | 0 | 62 |  |             Predictions = predictions; | 
|   |  | 63 |  |             CustomInit(); | 
|   | 0 | 64 |  |         } | 
|   |  | 65 |  |  | 
|   |  | 66 |  |         /// <summary> | 
|   |  | 67 |  |         /// An initialization method that performs custom operations like setting defaults | 
|   |  | 68 |  |         /// </summary> | 
|   |  | 69 |  |         partial void CustomInit(); | 
|   |  | 70 |  |  | 
|   |  | 71 |  |         /// <summary> | 
|   |  | 72 |  |         /// Gets the URI to the (resized) prediction image. If VNET feature is | 
|   |  | 73 |  |         /// enabled this will be a relative path to be used with GetArtifact, | 
|   |  | 74 |  |         /// otherwise this will be an absolute URI to the resource. | 
|   |  | 75 |  |         /// </summary> | 
|   |  | 76 |  |         [JsonProperty(PropertyName = "resizedImageUri")] | 
|   | 6 | 77 |  |         public string ResizedImageUri { get; private set; } | 
|   |  | 78 |  |  | 
|   |  | 79 |  |         /// <summary> | 
|   |  | 80 |  |         /// Gets the URI to the thumbnail of the original prediction image. If | 
|   |  | 81 |  |         /// VNET feature is enabled this will be a relative path to be used | 
|   |  | 82 |  |         /// with GetArtifact, otherwise this will be an absolute URI to the | 
|   |  | 83 |  |         /// resource. | 
|   |  | 84 |  |         /// </summary> | 
|   |  | 85 |  |         [JsonProperty(PropertyName = "thumbnailUri")] | 
|   | 6 | 86 |  |         public string ThumbnailUri { get; private set; } | 
|   |  | 87 |  |  | 
|   |  | 88 |  |         /// <summary> | 
|   |  | 89 |  |         /// Gets the URI to the original prediction image. If VNET feature is | 
|   |  | 90 |  |         /// enabled this will be a relative path to be used with GetArtifact, | 
|   |  | 91 |  |         /// otherwise this will be an absolute URI to the resource. | 
|   |  | 92 |  |         /// </summary> | 
|   |  | 93 |  |         [JsonProperty(PropertyName = "originalImageUri")] | 
|   | 6 | 94 |  |         public string OriginalImageUri { get; private set; } | 
|   |  | 95 |  |  | 
|   |  | 96 |  |         /// <summary> | 
|   |  | 97 |  |         /// Gets domain used for the prediction. | 
|   |  | 98 |  |         /// </summary> | 
|   |  | 99 |  |         [JsonProperty(PropertyName = "domain")] | 
|   | 0 | 100 |  |         public System.Guid Domain { get; private set; } | 
|   |  | 101 |  |  | 
|   |  | 102 |  |         /// <summary> | 
|   |  | 103 |  |         /// Gets prediction Id. | 
|   |  | 104 |  |         /// </summary> | 
|   |  | 105 |  |         [JsonProperty(PropertyName = "id")] | 
|   | 8 | 106 |  |         public System.Guid Id { get; private set; } | 
|   |  | 107 |  |  | 
|   |  | 108 |  |         /// <summary> | 
|   |  | 109 |  |         /// Gets project Id. | 
|   |  | 110 |  |         /// </summary> | 
|   |  | 111 |  |         [JsonProperty(PropertyName = "project")] | 
|   | 6 | 112 |  |         public System.Guid Project { get; private set; } | 
|   |  | 113 |  |  | 
|   |  | 114 |  |         /// <summary> | 
|   |  | 115 |  |         /// Gets iteration Id. | 
|   |  | 116 |  |         /// </summary> | 
|   |  | 117 |  |         [JsonProperty(PropertyName = "iteration")] | 
|   | 6 | 118 |  |         public System.Guid Iteration { get; private set; } | 
|   |  | 119 |  |  | 
|   |  | 120 |  |         /// <summary> | 
|   |  | 121 |  |         /// Gets date this prediction was created. | 
|   |  | 122 |  |         /// </summary> | 
|   |  | 123 |  |         [JsonProperty(PropertyName = "created")] | 
|   | 0 | 124 |  |         public System.DateTime Created { get; private set; } | 
|   |  | 125 |  |  | 
|   |  | 126 |  |         /// <summary> | 
|   |  | 127 |  |         /// Gets list of predictions. | 
|   |  | 128 |  |         /// </summary> | 
|   |  | 129 |  |         [JsonProperty(PropertyName = "predictions")] | 
|   | 10 | 130 |  |         public IList<Prediction> Predictions { get; private set; } | 
|   |  | 131 |  |  | 
|   |  | 132 |  |     } | 
|   |  | 133 |  | } |