| | 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 | | /// <summary> |
| | 19 | | /// Represents settings associated with a project. |
| | 20 | | /// </summary> |
| | 21 | | public partial class ProjectSettings |
| | 22 | | { |
| | 23 | | /// <summary> |
| | 24 | | /// Initializes a new instance of the ProjectSettings class. |
| | 25 | | /// </summary> |
| 90 | 26 | | public ProjectSettings() |
| | 27 | | { |
| | 28 | | CustomInit(); |
| 90 | 29 | | } |
| | 30 | |
|
| | 31 | | /// <summary> |
| | 32 | | /// Initializes a new instance of the ProjectSettings class. |
| | 33 | | /// </summary> |
| | 34 | | /// <param name="domainId">Gets or sets the id of the Domain to use |
| | 35 | | /// with this project.</param> |
| | 36 | | /// <param name="classificationType">Gets or sets the classification |
| | 37 | | /// type of the project. Possible values include: 'Multiclass', |
| | 38 | | /// 'Multilabel'</param> |
| | 39 | | /// <param name="targetExportPlatforms">A list of ExportPlatform that |
| | 40 | | /// the trained model should be able to support.</param> |
| | 41 | | /// <param name="useNegativeSet">Indicates if negative set is being |
| | 42 | | /// used.</param> |
| | 43 | | /// <param name="detectionParameters">Detection parameters in use, if |
| | 44 | | /// any.</param> |
| | 45 | | /// <param name="imageProcessingSettings">Gets or sets image |
| | 46 | | /// preprocessing settings.</param> |
| 0 | 47 | | public ProjectSettings(System.Guid domainId = default(System.Guid), string classificationType = default(string), |
| | 48 | | { |
| 0 | 49 | | DomainId = domainId; |
| 0 | 50 | | ClassificationType = classificationType; |
| 0 | 51 | | TargetExportPlatforms = targetExportPlatforms; |
| 0 | 52 | | UseNegativeSet = useNegativeSet; |
| 0 | 53 | | DetectionParameters = detectionParameters; |
| 0 | 54 | | ImageProcessingSettings = imageProcessingSettings; |
| | 55 | | CustomInit(); |
| 0 | 56 | | } |
| | 57 | |
|
| | 58 | | /// <summary> |
| | 59 | | /// An initialization method that performs custom operations like setting defaults |
| | 60 | | /// </summary> |
| | 61 | | partial void CustomInit(); |
| | 62 | |
|
| | 63 | | /// <summary> |
| | 64 | | /// Gets or sets the id of the Domain to use with this project. |
| | 65 | | /// </summary> |
| | 66 | | [JsonProperty(PropertyName = "domainId")] |
| 102 | 67 | | public System.Guid DomainId { get; set; } |
| | 68 | |
|
| | 69 | | /// <summary> |
| | 70 | | /// Gets or sets the classification type of the project. Possible |
| | 71 | | /// values include: 'Multiclass', 'Multilabel' |
| | 72 | | /// </summary> |
| | 73 | | [JsonProperty(PropertyName = "classificationType")] |
| 92 | 74 | | public string ClassificationType { get; set; } |
| | 75 | |
|
| | 76 | | /// <summary> |
| | 77 | | /// Gets or sets a list of ExportPlatform that the trained model should |
| | 78 | | /// be able to support. |
| | 79 | | /// </summary> |
| | 80 | | [JsonProperty(PropertyName = "targetExportPlatforms")] |
| 184 | 81 | | public IList<string> TargetExportPlatforms { get; set; } |
| | 82 | |
|
| | 83 | | /// <summary> |
| | 84 | | /// Gets indicates if negative set is being used. |
| | 85 | | /// </summary> |
| | 86 | | [JsonProperty(PropertyName = "useNegativeSet")] |
| 92 | 87 | | public bool? UseNegativeSet { get; private set; } |
| | 88 | |
|
| | 89 | | /// <summary> |
| | 90 | | /// Gets detection parameters in use, if any. |
| | 91 | | /// </summary> |
| | 92 | | [JsonProperty(PropertyName = "detectionParameters")] |
| 4 | 93 | | public string DetectionParameters { get; private set; } |
| | 94 | |
|
| | 95 | | /// <summary> |
| | 96 | | /// Gets or sets image preprocessing settings. |
| | 97 | | /// </summary> |
| | 98 | | [JsonProperty(PropertyName = "imageProcessingSettings")] |
| 182 | 99 | | public ImageProcessingSettings ImageProcessingSettings { get; set; } |
| | 100 | |
|
| | 101 | | } |
| | 102 | | } |