| | | 1 | | // <auto-generated> |
| | | 2 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | | 3 | | // Licensed under the MIT License. See License.txt in the project root for |
| | | 4 | | // license information. |
| | | 5 | | // |
| | | 6 | | // Code generated by Microsoft (R) AutoRest Code Generator. |
| | | 7 | | // Changes may cause incorrect behavior and will be lost if the code is |
| | | 8 | | // regenerated. |
| | | 9 | | // </auto-generated> |
| | | 10 | | |
| | | 11 | | namespace Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models |
| | | 12 | | { |
| | | 13 | | using Newtonsoft.Json; |
| | | 14 | | using System.Linq; |
| | | 15 | | |
| | | 16 | | public partial class Domain |
| | | 17 | | { |
| | | 18 | | /// <summary> |
| | | 19 | | /// Initializes a new instance of the Domain class. |
| | | 20 | | /// </summary> |
| | 30 | 21 | | public Domain() |
| | | 22 | | { |
| | | 23 | | CustomInit(); |
| | 30 | 24 | | } |
| | | 25 | | |
| | | 26 | | /// <summary> |
| | | 27 | | /// Initializes a new instance of the Domain class. |
| | | 28 | | /// </summary> |
| | | 29 | | /// <param name="type">Possible values include: 'Classification', |
| | | 30 | | /// 'ObjectDetection'</param> |
| | 0 | 31 | | public Domain(System.Guid id = default(System.Guid), string name = default(string), string type = default(string |
| | | 32 | | { |
| | 0 | 33 | | Id = id; |
| | 0 | 34 | | Name = name; |
| | 0 | 35 | | Type = type; |
| | 0 | 36 | | Exportable = exportable; |
| | 0 | 37 | | Enabled = enabled; |
| | | 38 | | CustomInit(); |
| | 0 | 39 | | } |
| | | 40 | | |
| | | 41 | | /// <summary> |
| | | 42 | | /// An initialization method that performs custom operations like setting defaults |
| | | 43 | | /// </summary> |
| | | 44 | | partial void CustomInit(); |
| | | 45 | | |
| | | 46 | | /// <summary> |
| | | 47 | | /// </summary> |
| | | 48 | | [JsonProperty(PropertyName = "id")] |
| | 36 | 49 | | public System.Guid Id { get; private set; } |
| | | 50 | | |
| | | 51 | | /// <summary> |
| | | 52 | | /// </summary> |
| | | 53 | | [JsonProperty(PropertyName = "name")] |
| | 34 | 54 | | public string Name { get; private set; } |
| | | 55 | | |
| | | 56 | | /// <summary> |
| | | 57 | | /// Gets possible values include: 'Classification', 'ObjectDetection' |
| | | 58 | | /// </summary> |
| | | 59 | | [JsonProperty(PropertyName = "type")] |
| | 0 | 60 | | public string Type { get; private set; } |
| | | 61 | | |
| | | 62 | | /// <summary> |
| | | 63 | | /// </summary> |
| | | 64 | | [JsonProperty(PropertyName = "exportable")] |
| | 34 | 65 | | public bool Exportable { get; private set; } |
| | | 66 | | |
| | | 67 | | /// <summary> |
| | | 68 | | /// </summary> |
| | | 69 | | [JsonProperty(PropertyName = "enabled")] |
| | 0 | 70 | | public bool Enabled { get; private set; } |
| | | 71 | | |
| | | 72 | | } |
| | | 73 | | } |