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