| | 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 | | /// <summary> |
| | 15 | | /// Evaluate response object. |
| | 16 | | /// </summary> |
| | 17 | | public partial class Evaluate |
| | 18 | | { |
| | 19 | | /// <summary> |
| | 20 | | /// Initializes a new instance of the Evaluate class. |
| | 21 | | /// </summary> |
| 0 | 22 | | public Evaluate() |
| | 23 | | { |
| | 24 | | CustomInit(); |
| 0 | 25 | | } |
| | 26 | |
|
| | 27 | | /// <summary> |
| | 28 | | /// Initializes a new instance of the Evaluate class. |
| | 29 | | /// </summary> |
| | 30 | | /// <param name="cacheID">The cache id.</param> |
| | 31 | | /// <param name="result">Evaluate result.</param> |
| | 32 | | /// <param name="trackingId">The tracking id.</param> |
| | 33 | | /// <param name="adultClassificationScore">The adult classification |
| | 34 | | /// score.</param> |
| | 35 | | /// <param name="isImageAdultClassified">Indicates if an image is |
| | 36 | | /// classified as adult.</param> |
| | 37 | | /// <param name="racyClassificationScore">The racy classification |
| | 38 | | /// score.</param> |
| | 39 | | /// <param name="isImageRacyClassified">Indicates if the image is |
| | 40 | | /// classified as racy.</param> |
| | 41 | | /// <param name="advancedInfo">The advanced info.</param> |
| | 42 | | /// <param name="status">The evaluate status</param> |
| 0 | 43 | | public Evaluate(string cacheID = default(string), bool? result = default(bool?), string trackingId = default(str |
| | 44 | | { |
| 0 | 45 | | CacheID = cacheID; |
| 0 | 46 | | Result = result; |
| 0 | 47 | | TrackingId = trackingId; |
| 0 | 48 | | AdultClassificationScore = adultClassificationScore; |
| 0 | 49 | | IsImageAdultClassified = isImageAdultClassified; |
| 0 | 50 | | RacyClassificationScore = racyClassificationScore; |
| 0 | 51 | | IsImageRacyClassified = isImageRacyClassified; |
| 0 | 52 | | AdvancedInfo = advancedInfo; |
| 0 | 53 | | Status = status; |
| | 54 | | CustomInit(); |
| 0 | 55 | | } |
| | 56 | |
|
| | 57 | | /// <summary> |
| | 58 | | /// An initialization method that performs custom operations like setting defaults |
| | 59 | | /// </summary> |
| | 60 | | partial void CustomInit(); |
| | 61 | |
|
| | 62 | | /// <summary> |
| | 63 | | /// Gets or sets the cache id. |
| | 64 | | /// </summary> |
| | 65 | | [JsonProperty(PropertyName = "CacheID")] |
| 0 | 66 | | public string CacheID { get; set; } |
| | 67 | |
|
| | 68 | | /// <summary> |
| | 69 | | /// Gets or sets evaluate result. |
| | 70 | | /// </summary> |
| | 71 | | [JsonProperty(PropertyName = "Result")] |
| 0 | 72 | | public bool? Result { get; set; } |
| | 73 | |
|
| | 74 | | /// <summary> |
| | 75 | | /// Gets or sets the tracking id. |
| | 76 | | /// </summary> |
| | 77 | | [JsonProperty(PropertyName = "TrackingId")] |
| 0 | 78 | | public string TrackingId { get; set; } |
| | 79 | |
|
| | 80 | | /// <summary> |
| | 81 | | /// Gets or sets the adult classification score. |
| | 82 | | /// </summary> |
| | 83 | | [JsonProperty(PropertyName = "AdultClassificationScore")] |
| 0 | 84 | | public double? AdultClassificationScore { get; set; } |
| | 85 | |
|
| | 86 | | /// <summary> |
| | 87 | | /// Gets or sets indicates if an image is classified as adult. |
| | 88 | | /// </summary> |
| | 89 | | [JsonProperty(PropertyName = "IsImageAdultClassified")] |
| 0 | 90 | | public bool? IsImageAdultClassified { get; set; } |
| | 91 | |
|
| | 92 | | /// <summary> |
| | 93 | | /// Gets or sets the racy classification score. |
| | 94 | | /// </summary> |
| | 95 | | [JsonProperty(PropertyName = "RacyClassificationScore")] |
| 0 | 96 | | public double? RacyClassificationScore { get; set; } |
| | 97 | |
|
| | 98 | | /// <summary> |
| | 99 | | /// Gets or sets indicates if the image is classified as racy. |
| | 100 | | /// </summary> |
| | 101 | | [JsonProperty(PropertyName = "IsImageRacyClassified")] |
| 0 | 102 | | public bool? IsImageRacyClassified { get; set; } |
| | 103 | |
|
| | 104 | | /// <summary> |
| | 105 | | /// Gets or sets the advanced info. |
| | 106 | | /// </summary> |
| | 107 | | [JsonProperty(PropertyName = "AdvancedInfo")] |
| 0 | 108 | | public IList<KeyValuePair> AdvancedInfo { get; set; } |
| | 109 | |
|
| | 110 | | /// <summary> |
| | 111 | | /// Gets or sets the evaluate status |
| | 112 | | /// </summary> |
| | 113 | | [JsonProperty(PropertyName = "Status")] |
| 0 | 114 | | public Status Status { get; set; } |
| | 115 | |
|
| | 116 | | } |
| | 117 | | } |