| | | 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 | | /// Tag details. |
| | | 14 | | /// </summary> |
| | | 15 | | public partial class Tag |
| | | 16 | | { |
| | | 17 | | /// <summary> |
| | | 18 | | /// Initializes a new instance of the Tag class. |
| | | 19 | | /// </summary> |
| | 0 | 20 | | public Tag() |
| | | 21 | | { |
| | | 22 | | CustomInit(); |
| | 0 | 23 | | } |
| | | 24 | | |
| | | 25 | | /// <summary> |
| | | 26 | | /// Initializes a new instance of the Tag class. |
| | | 27 | | /// </summary> |
| | | 28 | | /// <param name="key">The key parameter.</param> |
| | | 29 | | /// <param name="value">The value parameter.</param> |
| | 0 | 30 | | public Tag(string key = default(string), string value = default(string)) |
| | | 31 | | { |
| | 0 | 32 | | Key = key; |
| | 0 | 33 | | Value = value; |
| | | 34 | | CustomInit(); |
| | 0 | 35 | | } |
| | | 36 | | |
| | | 37 | | /// <summary> |
| | | 38 | | /// An initialization method that performs custom operations like setting defaults |
| | | 39 | | /// </summary> |
| | | 40 | | partial void CustomInit(); |
| | | 41 | | |
| | | 42 | | /// <summary> |
| | | 43 | | /// Gets or sets the key parameter. |
| | | 44 | | /// </summary> |
| | | 45 | | [JsonProperty(PropertyName = "Key")] |
| | 0 | 46 | | public string Key { get; set; } |
| | | 47 | | |
| | | 48 | | /// <summary> |
| | | 49 | | /// Gets or sets the value parameter. |
| | | 50 | | /// </summary> |
| | | 51 | | [JsonProperty(PropertyName = "Value")] |
| | 0 | 52 | | public string Value { get; set; } |
| | | 53 | | |
| | | 54 | | } |
| | | 55 | | } |