| | | 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 | | /// The response for a Match request. |
| | | 16 | | /// </summary> |
| | | 17 | | public partial class MatchResponse |
| | | 18 | | { |
| | | 19 | | /// <summary> |
| | | 20 | | /// Initializes a new instance of the MatchResponse class. |
| | | 21 | | /// </summary> |
| | 0 | 22 | | public MatchResponse() |
| | | 23 | | { |
| | | 24 | | CustomInit(); |
| | 0 | 25 | | } |
| | | 26 | | |
| | | 27 | | /// <summary> |
| | | 28 | | /// Initializes a new instance of the MatchResponse class. |
| | | 29 | | /// </summary> |
| | | 30 | | /// <param name="trackingId">The tracking id.</param> |
| | | 31 | | /// <param name="cacheID">The cache id.</param> |
| | | 32 | | /// <param name="isMatch">Indicates if there is a match.</param> |
| | | 33 | | /// <param name="matches">The match details.</param> |
| | | 34 | | /// <param name="status">The evaluate status</param> |
| | 0 | 35 | | public MatchResponse(string trackingId = default(string), string cacheID = default(string), bool? isMatch = defa |
| | | 36 | | { |
| | 0 | 37 | | TrackingId = trackingId; |
| | 0 | 38 | | CacheID = cacheID; |
| | 0 | 39 | | IsMatch = isMatch; |
| | 0 | 40 | | Matches = matches; |
| | 0 | 41 | | Status = status; |
| | | 42 | | CustomInit(); |
| | 0 | 43 | | } |
| | | 44 | | |
| | | 45 | | /// <summary> |
| | | 46 | | /// An initialization method that performs custom operations like setting defaults |
| | | 47 | | /// </summary> |
| | | 48 | | partial void CustomInit(); |
| | | 49 | | |
| | | 50 | | /// <summary> |
| | | 51 | | /// Gets or sets the tracking id. |
| | | 52 | | /// </summary> |
| | | 53 | | [JsonProperty(PropertyName = "TrackingId")] |
| | 0 | 54 | | public string TrackingId { get; set; } |
| | | 55 | | |
| | | 56 | | /// <summary> |
| | | 57 | | /// Gets or sets the cache id. |
| | | 58 | | /// </summary> |
| | | 59 | | [JsonProperty(PropertyName = "CacheID")] |
| | 0 | 60 | | public string CacheID { get; set; } |
| | | 61 | | |
| | | 62 | | /// <summary> |
| | | 63 | | /// Gets or sets indicates if there is a match. |
| | | 64 | | /// </summary> |
| | | 65 | | [JsonProperty(PropertyName = "IsMatch")] |
| | 0 | 66 | | public bool? IsMatch { get; set; } |
| | | 67 | | |
| | | 68 | | /// <summary> |
| | | 69 | | /// Gets or sets the match details. |
| | | 70 | | /// </summary> |
| | | 71 | | [JsonProperty(PropertyName = "Matches")] |
| | 0 | 72 | | public IList<Match> Matches { get; set; } |
| | | 73 | | |
| | | 74 | | /// <summary> |
| | | 75 | | /// Gets or sets the evaluate status |
| | | 76 | | /// </summary> |
| | | 77 | | [JsonProperty(PropertyName = "Status")] |
| | 0 | 78 | | public Status Status { get; set; } |
| | | 79 | | |
| | | 80 | | } |
| | | 81 | | } |