| | 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 Screen text request. |
| | 16 | | /// </summary> |
| | 17 | | public partial class Screen |
| | 18 | | { |
| | 19 | | /// <summary> |
| | 20 | | /// Initializes a new instance of the Screen class. |
| | 21 | | /// </summary> |
| 0 | 22 | | public Screen() |
| | 23 | | { |
| | 24 | | CustomInit(); |
| 0 | 25 | | } |
| | 26 | |
|
| | 27 | | /// <summary> |
| | 28 | | /// Initializes a new instance of the Screen class. |
| | 29 | | /// </summary> |
| | 30 | | /// <param name="originalText">The original text.</param> |
| | 31 | | /// <param name="normalizedText">The normalized text.</param> |
| | 32 | | /// <param name="autoCorrectedText">The autocorrected text</param> |
| | 33 | | /// <param name="misrepresentation">The misrepresentation text.</param> |
| | 34 | | /// <param name="classification">The classification details of the |
| | 35 | | /// text.</param> |
| | 36 | | /// <param name="status">The evaluate status.</param> |
| | 37 | | /// <param name="pII">Personal Identifier Information details.</param> |
| | 38 | | /// <param name="language">Language of the input text content.</param> |
| | 39 | | /// <param name="trackingId">Unique Content Moderator transaction |
| | 40 | | /// Id.</param> |
| 0 | 41 | | public Screen(string originalText = default(string), string normalizedText = default(string), string autoCorrect |
| | 42 | | { |
| 0 | 43 | | OriginalText = originalText; |
| 0 | 44 | | NormalizedText = normalizedText; |
| 0 | 45 | | AutoCorrectedText = autoCorrectedText; |
| 0 | 46 | | Misrepresentation = misrepresentation; |
| 0 | 47 | | Classification = classification; |
| 0 | 48 | | Status = status; |
| 0 | 49 | | PII = pII; |
| 0 | 50 | | Language = language; |
| 0 | 51 | | Terms = terms; |
| 0 | 52 | | TrackingId = trackingId; |
| | 53 | | CustomInit(); |
| 0 | 54 | | } |
| | 55 | |
|
| | 56 | | /// <summary> |
| | 57 | | /// An initialization method that performs custom operations like setting defaults |
| | 58 | | /// </summary> |
| | 59 | | partial void CustomInit(); |
| | 60 | |
|
| | 61 | | /// <summary> |
| | 62 | | /// Gets or sets the original text. |
| | 63 | | /// </summary> |
| | 64 | | [JsonProperty(PropertyName = "OriginalText")] |
| 0 | 65 | | public string OriginalText { get; set; } |
| | 66 | |
|
| | 67 | | /// <summary> |
| | 68 | | /// Gets or sets the normalized text. |
| | 69 | | /// </summary> |
| | 70 | | [JsonProperty(PropertyName = "NormalizedText")] |
| 0 | 71 | | public string NormalizedText { get; set; } |
| | 72 | |
|
| | 73 | | /// <summary> |
| | 74 | | /// Gets or sets the autocorrected text |
| | 75 | | /// </summary> |
| | 76 | | [JsonProperty(PropertyName = "AutoCorrectedText")] |
| 0 | 77 | | public string AutoCorrectedText { get; set; } |
| | 78 | |
|
| | 79 | | /// <summary> |
| | 80 | | /// Gets or sets the misrepresentation text. |
| | 81 | | /// </summary> |
| | 82 | | [JsonProperty(PropertyName = "Misrepresentation")] |
| 0 | 83 | | public IList<string> Misrepresentation { get; set; } |
| | 84 | |
|
| | 85 | | /// <summary> |
| | 86 | | /// Gets or sets the classification details of the text. |
| | 87 | | /// </summary> |
| | 88 | | [JsonProperty(PropertyName = "Classification")] |
| 0 | 89 | | public Classification Classification { get; set; } |
| | 90 | |
|
| | 91 | | /// <summary> |
| | 92 | | /// Gets or sets the evaluate status. |
| | 93 | | /// </summary> |
| | 94 | | [JsonProperty(PropertyName = "Status")] |
| 0 | 95 | | public Status Status { get; set; } |
| | 96 | |
|
| | 97 | | /// <summary> |
| | 98 | | /// Gets or sets personal Identifier Information details. |
| | 99 | | /// </summary> |
| | 100 | | [JsonProperty(PropertyName = "PII")] |
| 0 | 101 | | public PII PII { get; set; } |
| | 102 | |
|
| | 103 | | /// <summary> |
| | 104 | | /// Gets or sets language of the input text content. |
| | 105 | | /// </summary> |
| | 106 | | [JsonProperty(PropertyName = "Language")] |
| 0 | 107 | | public string Language { get; set; } |
| | 108 | |
|
| | 109 | | /// <summary> |
| | 110 | | /// </summary> |
| | 111 | | [JsonProperty(PropertyName = "Terms")] |
| 0 | 112 | | public IList<DetectedTerms> Terms { get; set; } |
| | 113 | |
|
| | 114 | | /// <summary> |
| | 115 | | /// Gets or sets unique Content Moderator transaction Id. |
| | 116 | | /// </summary> |
| | 117 | | [JsonProperty(PropertyName = "TrackingId")] |
| 0 | 118 | | public string TrackingId { get; set; } |
| | 119 | |
|
| | 120 | | } |
| | 121 | | } |