| | 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 match details. |
| | 16 | | /// </summary> |
| | 17 | | public partial class Match |
| | 18 | | { |
| | 19 | | /// <summary> |
| | 20 | | /// Initializes a new instance of the Match class. |
| | 21 | | /// </summary> |
| 0 | 22 | | public Match() |
| | 23 | | { |
| | 24 | | CustomInit(); |
| 0 | 25 | | } |
| | 26 | |
|
| | 27 | | /// <summary> |
| | 28 | | /// Initializes a new instance of the Match class. |
| | 29 | | /// </summary> |
| | 30 | | /// <param name="score">Confidence score of the image match.</param> |
| | 31 | | /// <param name="matchId">The match id.</param> |
| | 32 | | /// <param name="source">The source.</param> |
| | 33 | | /// <param name="tags">The tags for match details.</param> |
| | 34 | | /// <param name="label">The label.</param> |
| 0 | 35 | | public Match(double? score = default(double?), int? matchId = default(int?), string source = default(string), IL |
| | 36 | | { |
| 0 | 37 | | Score = score; |
| 0 | 38 | | MatchId = matchId; |
| 0 | 39 | | Source = source; |
| 0 | 40 | | Tags = tags; |
| 0 | 41 | | Label = label; |
| | 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 confidence score of the image match. |
| | 52 | | /// </summary> |
| | 53 | | [JsonProperty(PropertyName = "Score")] |
| 0 | 54 | | public double? Score { get; set; } |
| | 55 | |
|
| | 56 | | /// <summary> |
| | 57 | | /// Gets or sets the match id. |
| | 58 | | /// </summary> |
| | 59 | | [JsonProperty(PropertyName = "MatchId")] |
| 0 | 60 | | public int? MatchId { get; set; } |
| | 61 | |
|
| | 62 | | /// <summary> |
| | 63 | | /// Gets or sets the source. |
| | 64 | | /// </summary> |
| | 65 | | [JsonProperty(PropertyName = "Source")] |
| 0 | 66 | | public string Source { get; set; } |
| | 67 | |
|
| | 68 | | /// <summary> |
| | 69 | | /// Gets or sets the tags for match details. |
| | 70 | | /// </summary> |
| | 71 | | [JsonProperty(PropertyName = "Tags")] |
| 0 | 72 | | public IList<int?> Tags { get; set; } |
| | 73 | |
|
| | 74 | | /// <summary> |
| | 75 | | /// Gets or sets the label. |
| | 76 | | /// </summary> |
| | 77 | | [JsonProperty(PropertyName = "Label")] |
| 0 | 78 | | public string Label { get; set; } |
| | 79 | |
|
| | 80 | | } |
| | 81 | | } |