| | 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 | | /// Request object the contains found faces. |
| | 16 | | /// </summary> |
| | 17 | | public partial class FoundFaces |
| | 18 | | { |
| | 19 | | /// <summary> |
| | 20 | | /// Initializes a new instance of the FoundFaces class. |
| | 21 | | /// </summary> |
| 0 | 22 | | public FoundFaces() |
| | 23 | | { |
| | 24 | | CustomInit(); |
| 0 | 25 | | } |
| | 26 | |
|
| | 27 | | /// <summary> |
| | 28 | | /// Initializes a new instance of the FoundFaces class. |
| | 29 | | /// </summary> |
| | 30 | | /// <param name="status">The evaluate status</param> |
| | 31 | | /// <param name="trackingId">The tracking id.</param> |
| | 32 | | /// <param name="cacheId">The cache id.</param> |
| | 33 | | /// <param name="result">True if result was found.</param> |
| | 34 | | /// <param name="count">Number of faces found.</param> |
| | 35 | | /// <param name="advancedInfo">The advanced info.</param> |
| | 36 | | /// <param name="faces">The list of faces.</param> |
| 0 | 37 | | public FoundFaces(Status status = default(Status), string trackingId = default(string), string cacheId = default |
| | 38 | | { |
| 0 | 39 | | Status = status; |
| 0 | 40 | | TrackingId = trackingId; |
| 0 | 41 | | CacheId = cacheId; |
| 0 | 42 | | Result = result; |
| 0 | 43 | | Count = count; |
| 0 | 44 | | AdvancedInfo = advancedInfo; |
| 0 | 45 | | Faces = faces; |
| | 46 | | CustomInit(); |
| 0 | 47 | | } |
| | 48 | |
|
| | 49 | | /// <summary> |
| | 50 | | /// An initialization method that performs custom operations like setting defaults |
| | 51 | | /// </summary> |
| | 52 | | partial void CustomInit(); |
| | 53 | |
|
| | 54 | | /// <summary> |
| | 55 | | /// Gets or sets the evaluate status |
| | 56 | | /// </summary> |
| | 57 | | [JsonProperty(PropertyName = "Status")] |
| 0 | 58 | | public Status Status { get; set; } |
| | 59 | |
|
| | 60 | | /// <summary> |
| | 61 | | /// Gets or sets the tracking id. |
| | 62 | | /// </summary> |
| | 63 | | [JsonProperty(PropertyName = "TrackingId")] |
| 0 | 64 | | public string TrackingId { get; set; } |
| | 65 | |
|
| | 66 | | /// <summary> |
| | 67 | | /// Gets or sets the cache id. |
| | 68 | | /// </summary> |
| | 69 | | [JsonProperty(PropertyName = "CacheId")] |
| 0 | 70 | | public string CacheId { get; set; } |
| | 71 | |
|
| | 72 | | /// <summary> |
| | 73 | | /// Gets or sets true if result was found. |
| | 74 | | /// </summary> |
| | 75 | | [JsonProperty(PropertyName = "Result")] |
| 0 | 76 | | public bool? Result { get; set; } |
| | 77 | |
|
| | 78 | | /// <summary> |
| | 79 | | /// Gets or sets number of faces found. |
| | 80 | | /// </summary> |
| | 81 | | [JsonProperty(PropertyName = "Count")] |
| 0 | 82 | | public int? Count { get; set; } |
| | 83 | |
|
| | 84 | | /// <summary> |
| | 85 | | /// Gets or sets the advanced info. |
| | 86 | | /// </summary> |
| | 87 | | [JsonProperty(PropertyName = "AdvancedInfo")] |
| 0 | 88 | | public IList<KeyValuePair> AdvancedInfo { get; set; } |
| | 89 | |
|
| | 90 | | /// <summary> |
| | 91 | | /// Gets or sets the list of faces. |
| | 92 | | /// </summary> |
| | 93 | | [JsonProperty(PropertyName = "Faces")] |
| 0 | 94 | | public IList<Face> Faces { get; set; } |
| | 95 | |
|
| | 96 | | } |
| | 97 | | } |