| | 1 | | // <auto-generated> |
| | 2 | | // Code generated by Microsoft (R) AutoRest Code Generator. |
| | 3 | | // Changes may cause incorrect behavior and will be lost if the code is |
| | 4 | | // regenerated. |
| | 5 | | // </auto-generated> |
| | 6 | |
|
| | 7 | | namespace Microsoft.Azure.CognitiveServices.ContentModerator.Models |
| | 8 | | { |
| | 9 | | using Newtonsoft.Json; |
| | 10 | | using System.Linq; |
| | 11 | |
|
| | 12 | | /// <summary> |
| | 13 | | /// Status properties. |
| | 14 | | /// </summary> |
| | 15 | | public partial class Status |
| | 16 | | { |
| | 17 | | /// <summary> |
| | 18 | | /// Initializes a new instance of the Status class. |
| | 19 | | /// </summary> |
| 0 | 20 | | public Status() |
| | 21 | | { |
| | 22 | | CustomInit(); |
| 0 | 23 | | } |
| | 24 | |
|
| | 25 | | /// <summary> |
| | 26 | | /// Initializes a new instance of the Status class. |
| | 27 | | /// </summary> |
| | 28 | | /// <param name="code">Status code.</param> |
| | 29 | | /// <param name="description">Status description.</param> |
| | 30 | | /// <param name="exception">Exception status.</param> |
| 0 | 31 | | public Status(int? code = default(int?), string description = default(string), string exception = default(string |
| | 32 | | { |
| 0 | 33 | | Code = code; |
| 0 | 34 | | Description = description; |
| 0 | 35 | | Exception = exception; |
| | 36 | | CustomInit(); |
| 0 | 37 | | } |
| | 38 | |
|
| | 39 | | /// <summary> |
| | 40 | | /// An initialization method that performs custom operations like setting defaults |
| | 41 | | /// </summary> |
| | 42 | | partial void CustomInit(); |
| | 43 | |
|
| | 44 | | /// <summary> |
| | 45 | | /// Gets or sets status code. |
| | 46 | | /// </summary> |
| | 47 | | [JsonProperty(PropertyName = "Code")] |
| 0 | 48 | | public int? Code { get; set; } |
| | 49 | |
|
| | 50 | | /// <summary> |
| | 51 | | /// Gets or sets status description. |
| | 52 | | /// </summary> |
| | 53 | | [JsonProperty(PropertyName = "Description")] |
| 0 | 54 | | public string Description { get; set; } |
| | 55 | |
|
| | 56 | | /// <summary> |
| | 57 | | /// Gets or sets exception status. |
| | 58 | | /// </summary> |
| | 59 | | [JsonProperty(PropertyName = "Exception")] |
| 0 | 60 | | public string Exception { get; set; } |
| | 61 | |
|
| | 62 | | } |
| | 63 | | } |