| | 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 | | /// Detect language result. |
| | 14 | | /// </summary> |
| | 15 | | public partial class DetectedLanguage |
| | 16 | | { |
| | 17 | | /// <summary> |
| | 18 | | /// Initializes a new instance of the DetectedLanguage class. |
| | 19 | | /// </summary> |
| 0 | 20 | | public DetectedLanguage() |
| | 21 | | { |
| | 22 | | CustomInit(); |
| 0 | 23 | | } |
| | 24 | |
|
| | 25 | | /// <summary> |
| | 26 | | /// Initializes a new instance of the DetectedLanguage class. |
| | 27 | | /// </summary> |
| | 28 | | /// <param name="detectedLanguageProperty">The detected |
| | 29 | | /// language.</param> |
| | 30 | | /// <param name="status">The detect language status</param> |
| | 31 | | /// <param name="trackingId">The tracking id.</param> |
| 0 | 32 | | public DetectedLanguage(string detectedLanguageProperty = default(string), Status status = default(Status), stri |
| | 33 | | { |
| 0 | 34 | | DetectedLanguageProperty = detectedLanguageProperty; |
| 0 | 35 | | Status = status; |
| 0 | 36 | | TrackingId = trackingId; |
| | 37 | | CustomInit(); |
| 0 | 38 | | } |
| | 39 | |
|
| | 40 | | /// <summary> |
| | 41 | | /// An initialization method that performs custom operations like setting defaults |
| | 42 | | /// </summary> |
| | 43 | | partial void CustomInit(); |
| | 44 | |
|
| | 45 | | /// <summary> |
| | 46 | | /// Gets or sets the detected language. |
| | 47 | | /// </summary> |
| | 48 | | [JsonProperty(PropertyName = "DetectedLanguage")] |
| 0 | 49 | | public string DetectedLanguageProperty { get; set; } |
| | 50 | |
|
| | 51 | | /// <summary> |
| | 52 | | /// Gets or sets the detect language status |
| | 53 | | /// </summary> |
| | 54 | | [JsonProperty(PropertyName = "Status")] |
| 0 | 55 | | public Status Status { get; set; } |
| | 56 | |
|
| | 57 | | /// <summary> |
| | 58 | | /// Gets or sets the tracking id. |
| | 59 | | /// </summary> |
| | 60 | | [JsonProperty(PropertyName = "TrackingId")] |
| 0 | 61 | | public string TrackingId { get; set; } |
| | 62 | |
|
| | 63 | | } |
| | 64 | | } |