| | 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.Linq; |
| | 15 | |
|
| | 16 | | /// <summary> |
| | 17 | | /// Represents information about a project export. |
| | 18 | | /// </summary> |
| | 19 | | public partial class ProjectExport |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Initializes a new instance of the ProjectExport class. |
| | 23 | | /// </summary> |
| 2 | 24 | | public ProjectExport() |
| | 25 | | { |
| | 26 | | CustomInit(); |
| 2 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> |
| | 30 | | /// Initializes a new instance of the ProjectExport class. |
| | 31 | | /// </summary> |
| | 32 | | /// <param name="iterationCount">Count of iterations that will be |
| | 33 | | /// exported.</param> |
| | 34 | | /// <param name="imageCount">Count of images that will be |
| | 35 | | /// exported.</param> |
| | 36 | | /// <param name="tagCount">Count of tags that will be exported.</param> |
| | 37 | | /// <param name="regionCount">Count of regions that will be |
| | 38 | | /// exported.</param> |
| | 39 | | /// <param name="estimatedImportTimeInMS">Estimated time this project |
| | 40 | | /// will take to import, can change based on network connectivity and |
| | 41 | | /// load between |
| | 42 | | /// source and destination regions.</param> |
| | 43 | | /// <param name="token">Opaque token that should be passed to |
| | 44 | | /// ImportProject to perform the import. This token grants access to |
| | 45 | | /// import this |
| | 46 | | /// project to all that have the token.</param> |
| 0 | 47 | | public ProjectExport(int iterationCount = default(int), int imageCount = default(int), int tagCount = default(in |
| | 48 | | { |
| 0 | 49 | | IterationCount = iterationCount; |
| 0 | 50 | | ImageCount = imageCount; |
| 0 | 51 | | TagCount = tagCount; |
| 0 | 52 | | RegionCount = regionCount; |
| 0 | 53 | | EstimatedImportTimeInMS = estimatedImportTimeInMS; |
| 0 | 54 | | Token = token; |
| | 55 | | CustomInit(); |
| 0 | 56 | | } |
| | 57 | |
|
| | 58 | | /// <summary> |
| | 59 | | /// An initialization method that performs custom operations like setting defaults |
| | 60 | | /// </summary> |
| | 61 | | partial void CustomInit(); |
| | 62 | |
|
| | 63 | | /// <summary> |
| | 64 | | /// Gets count of iterations that will be exported. |
| | 65 | | /// </summary> |
| | 66 | | [JsonProperty(PropertyName = "iterationCount")] |
| 0 | 67 | | public int IterationCount { get; private set; } |
| | 68 | |
|
| | 69 | | /// <summary> |
| | 70 | | /// Gets count of images that will be exported. |
| | 71 | | /// </summary> |
| | 72 | | [JsonProperty(PropertyName = "imageCount")] |
| 0 | 73 | | public int ImageCount { get; private set; } |
| | 74 | |
|
| | 75 | | /// <summary> |
| | 76 | | /// Gets count of tags that will be exported. |
| | 77 | | /// </summary> |
| | 78 | | [JsonProperty(PropertyName = "tagCount")] |
| 0 | 79 | | public int TagCount { get; private set; } |
| | 80 | |
|
| | 81 | | /// <summary> |
| | 82 | | /// Gets count of regions that will be exported. |
| | 83 | | /// </summary> |
| | 84 | | [JsonProperty(PropertyName = "regionCount")] |
| 0 | 85 | | public int RegionCount { get; private set; } |
| | 86 | |
|
| | 87 | | /// <summary> |
| | 88 | | /// Gets estimated time this project will take to import, can change |
| | 89 | | /// based on network connectivity and load between |
| | 90 | | /// source and destination regions. |
| | 91 | | /// </summary> |
| | 92 | | [JsonProperty(PropertyName = "estimatedImportTimeInMS")] |
| 0 | 93 | | public int EstimatedImportTimeInMS { get; private set; } |
| | 94 | |
|
| | 95 | | /// <summary> |
| | 96 | | /// Gets opaque token that should be passed to ImportProject to perform |
| | 97 | | /// the import. This token grants access to import this |
| | 98 | | /// project to all that have the token. |
| | 99 | | /// </summary> |
| | 100 | | [JsonProperty(PropertyName = "token")] |
| 6 | 101 | | public string Token { get; private set; } |
| | 102 | |
|
| | 103 | | } |
| | 104 | | } |