| | 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.Collections; |
| | 15 | | using System.Collections.Generic; |
| | 16 | | using System.Linq; |
| | 17 | |
|
| | 18 | | public partial class ImageFileCreateEntry |
| | 19 | | { |
| | 20 | | /// <summary> |
| | 21 | | /// Initializes a new instance of the ImageFileCreateEntry class. |
| | 22 | | /// </summary> |
| 0 | 23 | | public ImageFileCreateEntry() |
| | 24 | | { |
| | 25 | | CustomInit(); |
| 0 | 26 | | } |
| | 27 | |
|
| | 28 | | /// <summary> |
| | 29 | | /// Initializes a new instance of the ImageFileCreateEntry class. |
| | 30 | | /// </summary> |
| 8 | 31 | | public ImageFileCreateEntry(string name = default(string), byte[] contents = default(byte[]), IList<System.Guid> |
| | 32 | | { |
| 8 | 33 | | Name = name; |
| 8 | 34 | | Contents = contents; |
| 8 | 35 | | TagIds = tagIds; |
| 8 | 36 | | Regions = regions; |
| | 37 | | CustomInit(); |
| 8 | 38 | | } |
| | 39 | |
|
| | 40 | | /// <summary> |
| | 41 | | /// An initialization method that performs custom operations like setting defaults |
| | 42 | | /// </summary> |
| | 43 | | partial void CustomInit(); |
| | 44 | |
|
| | 45 | | /// <summary> |
| | 46 | | /// </summary> |
| | 47 | | [JsonProperty(PropertyName = "name")] |
| 16 | 48 | | public string Name { get; set; } |
| | 49 | |
|
| | 50 | | /// <summary> |
| | 51 | | /// </summary> |
| | 52 | | [JsonProperty(PropertyName = "contents")] |
| 16 | 53 | | public byte[] Contents { get; set; } |
| | 54 | |
|
| | 55 | | /// <summary> |
| | 56 | | /// </summary> |
| | 57 | | [JsonProperty(PropertyName = "tagIds")] |
| 16 | 58 | | public IList<System.Guid> TagIds { get; set; } |
| | 59 | |
|
| | 60 | | /// <summary> |
| | 61 | | /// </summary> |
| | 62 | | [JsonProperty(PropertyName = "regions")] |
| 16 | 63 | | public IList<Region> Regions { get; set; } |
| | 64 | |
|
| | 65 | | } |
| | 66 | | } |