| | 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.FormRecognizer.Models |
| | 12 | | { |
| | 13 | | using Newtonsoft.Json; |
| | 14 | | using System.Linq; |
| | 15 | |
|
| | 16 | | /// <summary> |
| | 17 | | /// Result of a model status query operation. |
| | 18 | | /// </summary> |
| | 19 | | public partial class ModelResult |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Initializes a new instance of the ModelResult class. |
| | 23 | | /// </summary> |
| 0 | 24 | | public ModelResult() |
| | 25 | | { |
| | 26 | | CustomInit(); |
| 0 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> |
| | 30 | | /// Initializes a new instance of the ModelResult class. |
| | 31 | | /// </summary> |
| | 32 | | /// <param name="modelId">Get or set model identifier.</param> |
| | 33 | | /// <param name="status">Get or set the status of model. Possible |
| | 34 | | /// values include: 'created', 'ready', 'invalid'</param> |
| | 35 | | /// <param name="createdDateTime">Get or set the created date time of |
| | 36 | | /// the model.</param> |
| | 37 | | /// <param name="lastUpdatedDateTime">Get or set the model last updated |
| | 38 | | /// datetime.</param> |
| 0 | 39 | | public ModelResult(System.Guid modelId = default(System.Guid), string status = default(string), System.DateTime? |
| | 40 | | { |
| 0 | 41 | | ModelId = modelId; |
| 0 | 42 | | Status = status; |
| 0 | 43 | | CreatedDateTime = createdDateTime; |
| 0 | 44 | | LastUpdatedDateTime = lastUpdatedDateTime; |
| | 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 | | /// Gets or sets get or set model identifier. |
| | 55 | | /// </summary> |
| | 56 | | [JsonProperty(PropertyName = "modelId")] |
| 0 | 57 | | public System.Guid ModelId { get; set; } |
| | 58 | |
|
| | 59 | | /// <summary> |
| | 60 | | /// Gets or sets get or set the status of model. Possible values |
| | 61 | | /// include: 'created', 'ready', 'invalid' |
| | 62 | | /// </summary> |
| | 63 | | [JsonProperty(PropertyName = "status")] |
| 0 | 64 | | public string Status { get; set; } |
| | 65 | |
|
| | 66 | | /// <summary> |
| | 67 | | /// Gets or sets get or set the created date time of the model. |
| | 68 | | /// </summary> |
| | 69 | | [JsonProperty(PropertyName = "createdDateTime")] |
| 0 | 70 | | public System.DateTime? CreatedDateTime { get; set; } |
| | 71 | |
|
| | 72 | | /// <summary> |
| | 73 | | /// Gets or sets get or set the model last updated datetime. |
| | 74 | | /// </summary> |
| | 75 | | [JsonProperty(PropertyName = "lastUpdatedDateTime")] |
| 0 | 76 | | public System.DateTime? LastUpdatedDateTime { get; set; } |
| | 77 | |
|
| | 78 | | } |
| | 79 | | } |