| | 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.Language.LUIS.Authoring.Models |
| | 12 | | { |
| | 13 | | using Newtonsoft.Json; |
| | 14 | | using System.Linq; |
| | 15 | |
|
| | 16 | | /// <summary> |
| | 17 | | /// Model Training Details. |
| | 18 | | /// </summary> |
| | 19 | | public partial class ModelTrainingDetails |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Initializes a new instance of the ModelTrainingDetails class. |
| | 23 | | /// </summary> |
| 21 | 24 | | public ModelTrainingDetails() |
| | 25 | | { |
| | 26 | | CustomInit(); |
| 21 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> |
| | 30 | | /// Initializes a new instance of the ModelTrainingDetails class. |
| | 31 | | /// </summary> |
| | 32 | | /// <param name="statusId">The train request status ID.</param> |
| | 33 | | /// <param name="status">Possible values include: 'Queued', |
| | 34 | | /// 'InProgress', 'UpToDate', 'Fail', 'Success'</param> |
| | 35 | | /// <param name="exampleCount">The count of examples used to train the |
| | 36 | | /// model.</param> |
| | 37 | | /// <param name="trainingDateTime">When the model was trained.</param> |
| | 38 | | /// <param name="failureReason">Reason for the training |
| | 39 | | /// failure.</param> |
| 0 | 40 | | public ModelTrainingDetails(int? statusId = default(int?), string status = default(string), int? exampleCount = |
| | 41 | | { |
| 0 | 42 | | StatusId = statusId; |
| 0 | 43 | | Status = status; |
| 0 | 44 | | ExampleCount = exampleCount; |
| 0 | 45 | | TrainingDateTime = trainingDateTime; |
| 0 | 46 | | FailureReason = failureReason; |
| | 47 | | CustomInit(); |
| 0 | 48 | | } |
| | 49 | |
|
| | 50 | | /// <summary> |
| | 51 | | /// An initialization method that performs custom operations like setting defaults |
| | 52 | | /// </summary> |
| | 53 | | partial void CustomInit(); |
| | 54 | |
|
| | 55 | | /// <summary> |
| | 56 | | /// Gets or sets the train request status ID. |
| | 57 | | /// </summary> |
| | 58 | | [JsonProperty(PropertyName = "statusId")] |
| 0 | 59 | | public int? StatusId { get; set; } |
| | 60 | |
|
| | 61 | | /// <summary> |
| | 62 | | /// Gets or sets possible values include: 'Queued', 'InProgress', |
| | 63 | | /// 'UpToDate', 'Fail', 'Success' |
| | 64 | | /// </summary> |
| | 65 | | [JsonProperty(PropertyName = "status")] |
| 35 | 66 | | public string Status { get; set; } |
| | 67 | |
|
| | 68 | | /// <summary> |
| | 69 | | /// Gets or sets the count of examples used to train the model. |
| | 70 | | /// </summary> |
| | 71 | | [JsonProperty(PropertyName = "exampleCount")] |
| 0 | 72 | | public int? ExampleCount { get; set; } |
| | 73 | |
|
| | 74 | | /// <summary> |
| | 75 | | /// Gets or sets when the model was trained. |
| | 76 | | /// </summary> |
| | 77 | | [JsonProperty(PropertyName = "trainingDateTime")] |
| 0 | 78 | | public System.DateTime? TrainingDateTime { get; set; } |
| | 79 | |
|
| | 80 | | /// <summary> |
| | 81 | | /// Gets or sets reason for the training failure. |
| | 82 | | /// </summary> |
| | 83 | | [JsonProperty(PropertyName = "failureReason")] |
| 0 | 84 | | public string FailureReason { get; set; } |
| | 85 | |
|
| | 86 | | } |
| | 87 | | } |