| | 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.Collections; |
| | 11 | | using System.Collections.Generic; |
| | 12 | | using System.Linq; |
| | 13 | |
|
| | 14 | | /// <summary> |
| | 15 | | /// All term Id response properties. |
| | 16 | | /// </summary> |
| | 17 | | public partial class TermsData |
| | 18 | | { |
| | 19 | | /// <summary> |
| | 20 | | /// Initializes a new instance of the TermsData class. |
| | 21 | | /// </summary> |
| 0 | 22 | | public TermsData() |
| | 23 | | { |
| | 24 | | CustomInit(); |
| 0 | 25 | | } |
| | 26 | |
|
| | 27 | | /// <summary> |
| | 28 | | /// Initializes a new instance of the TermsData class. |
| | 29 | | /// </summary> |
| | 30 | | /// <param name="language">Language of the terms.</param> |
| | 31 | | /// <param name="terms">List of terms.</param> |
| | 32 | | /// <param name="status">Term Status.</param> |
| | 33 | | /// <param name="trackingId">Tracking Id.</param> |
| 0 | 34 | | public TermsData(string language = default(string), IList<TermsInList> terms = default(IList<TermsInList>), Stat |
| | 35 | | { |
| 0 | 36 | | Language = language; |
| 0 | 37 | | Terms = terms; |
| 0 | 38 | | Status = status; |
| 0 | 39 | | TrackingId = trackingId; |
| | 40 | | CustomInit(); |
| 0 | 41 | | } |
| | 42 | |
|
| | 43 | | /// <summary> |
| | 44 | | /// An initialization method that performs custom operations like setting defaults |
| | 45 | | /// </summary> |
| | 46 | | partial void CustomInit(); |
| | 47 | |
|
| | 48 | | /// <summary> |
| | 49 | | /// Gets or sets language of the terms. |
| | 50 | | /// </summary> |
| | 51 | | [JsonProperty(PropertyName = "Language")] |
| 0 | 52 | | public string Language { get; set; } |
| | 53 | |
|
| | 54 | | /// <summary> |
| | 55 | | /// Gets or sets list of terms. |
| | 56 | | /// </summary> |
| | 57 | | [JsonProperty(PropertyName = "Terms")] |
| 0 | 58 | | public IList<TermsInList> Terms { get; set; } |
| | 59 | |
|
| | 60 | | /// <summary> |
| | 61 | | /// Gets or sets term Status. |
| | 62 | | /// </summary> |
| | 63 | | [JsonProperty(PropertyName = "Status")] |
| 0 | 64 | | public Status Status { get; set; } |
| | 65 | |
|
| | 66 | | /// <summary> |
| | 67 | | /// Gets or sets tracking Id. |
| | 68 | | /// </summary> |
| | 69 | | [JsonProperty(PropertyName = "TrackingId")] |
| 0 | 70 | | public string TrackingId { get; set; } |
| | 71 | |
|
| | 72 | | } |
| | 73 | | } |