| | | 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 | | /// Term List Properties. |
| | | 16 | | /// </summary> |
| | | 17 | | public partial class TermList |
| | | 18 | | { |
| | | 19 | | /// <summary> |
| | | 20 | | /// Initializes a new instance of the TermList class. |
| | | 21 | | /// </summary> |
| | 0 | 22 | | public TermList() |
| | | 23 | | { |
| | | 24 | | CustomInit(); |
| | 0 | 25 | | } |
| | | 26 | | |
| | | 27 | | /// <summary> |
| | | 28 | | /// Initializes a new instance of the TermList class. |
| | | 29 | | /// </summary> |
| | | 30 | | /// <param name="id">Term list Id.</param> |
| | | 31 | | /// <param name="name">Term list name.</param> |
| | | 32 | | /// <param name="description">Description for term list.</param> |
| | | 33 | | /// <param name="metadata">Term list metadata.</param> |
| | 0 | 34 | | public TermList(int? id = default(int?), string name = default(string), string description = default(string), ID |
| | | 35 | | { |
| | 0 | 36 | | Id = id; |
| | 0 | 37 | | Name = name; |
| | 0 | 38 | | Description = description; |
| | 0 | 39 | | Metadata = metadata; |
| | | 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 term list Id. |
| | | 50 | | /// </summary> |
| | | 51 | | [JsonProperty(PropertyName = "Id")] |
| | 0 | 52 | | public int? Id { get; set; } |
| | | 53 | | |
| | | 54 | | /// <summary> |
| | | 55 | | /// Gets or sets term list name. |
| | | 56 | | /// </summary> |
| | | 57 | | [JsonProperty(PropertyName = "Name")] |
| | 0 | 58 | | public string Name { get; set; } |
| | | 59 | | |
| | | 60 | | /// <summary> |
| | | 61 | | /// Gets or sets description for term list. |
| | | 62 | | /// </summary> |
| | | 63 | | [JsonProperty(PropertyName = "Description")] |
| | 0 | 64 | | public string Description { get; set; } |
| | | 65 | | |
| | | 66 | | /// <summary> |
| | | 67 | | /// Gets or sets term list metadata. |
| | | 68 | | /// </summary> |
| | | 69 | | [JsonProperty(PropertyName = "Metadata")] |
| | 0 | 70 | | public IDictionary<string, string> Metadata { get; set; } |
| | | 71 | | |
| | | 72 | | } |
| | | 73 | | } |