| | 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 | | public partial class Body |
| | 15 | | { |
| | 16 | | /// <summary> |
| | 17 | | /// Initializes a new instance of the Body class. |
| | 18 | | /// </summary> |
| 0 | 19 | | public Body() |
| | 20 | | { |
| | 21 | | CustomInit(); |
| 0 | 22 | | } |
| | 23 | |
|
| | 24 | | /// <summary> |
| | 25 | | /// Initializes a new instance of the Body class. |
| | 26 | | /// </summary> |
| | 27 | | /// <param name="name">Name of the list.</param> |
| | 28 | | /// <param name="description">Description of the list.</param> |
| | 29 | | /// <param name="metadata">Metadata of the list.</param> |
| 0 | 30 | | public Body(string name = default(string), string description = default(string), IDictionary<string, string> met |
| | 31 | | { |
| 0 | 32 | | Name = name; |
| 0 | 33 | | Description = description; |
| 0 | 34 | | Metadata = metadata; |
| | 35 | | CustomInit(); |
| 0 | 36 | | } |
| | 37 | |
|
| | 38 | | /// <summary> |
| | 39 | | /// An initialization method that performs custom operations like setting defaults |
| | 40 | | /// </summary> |
| | 41 | | partial void CustomInit(); |
| | 42 | |
|
| | 43 | | /// <summary> |
| | 44 | | /// Gets or sets name of the list. |
| | 45 | | /// </summary> |
| | 46 | | [JsonProperty(PropertyName = "Name")] |
| 0 | 47 | | public string Name { get; set; } |
| | 48 | |
|
| | 49 | | /// <summary> |
| | 50 | | /// Gets or sets description of the list. |
| | 51 | | /// </summary> |
| | 52 | | [JsonProperty(PropertyName = "Description")] |
| 0 | 53 | | public string Description { get; set; } |
| | 54 | |
|
| | 55 | | /// <summary> |
| | 56 | | /// Gets or sets metadata of the list. |
| | 57 | | /// </summary> |
| | 58 | | [JsonProperty(PropertyName = "Metadata")] |
| 0 | 59 | | public IDictionary<string, string> Metadata { get; set; } |
| | 60 | |
|
| | 61 | | } |
| | 62 | | } |