Class: Azure::CognitiveServices::ContentModerator::V1_0::Models::Review
- Inherits:
-
Object
- Object
- Azure::CognitiveServices::ContentModerator::V1_0::Models::Review
- Includes:
- MsRestAzure
- Defined in:
- lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/review.rb
Overview
The Review object.
Instance Attribute Summary collapse
-
#callback_endpoint ⇒ String
The callback endpoint.
-
#content ⇒ String
The content value.
-
#content_id ⇒ String
Id of the content.
-
#created_by ⇒ String
The reviewer name.
-
#metadata ⇒ Array<KeyValuePair>
Array of KeyValue.
-
#review_id ⇒ String
Id of the review.
-
#reviewer_result_tags ⇒ Array<KeyValuePair>
Array of KeyValue with Reviewer set Tags.
-
#status ⇒ String
The status string (<Pending, Complete>).
-
#sub_team ⇒ String
Name of the subteam.
-
#type ⇒ String
The type of content.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Review class as Ruby Hash.
Instance Attribute Details
#callback_endpoint ⇒ String
Returns The callback endpoint.
43 44 45 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/review.rb', line 43 def callback_endpoint @callback_endpoint end |
#content ⇒ String
Returns The content value.
37 38 39 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/review.rb', line 37 def content @content end |
#content_id ⇒ String
Returns Id of the content.
40 41 42 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/review.rb', line 40 def content_id @content_id end |
#created_by ⇒ String
Returns The reviewer name.
28 29 30 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/review.rb', line 28 def created_by @created_by end |
#metadata ⇒ Array<KeyValuePair>
Returns Array of KeyValue.
31 32 33 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/review.rb', line 31 def end |
#review_id ⇒ String
Returns Id of the review.
16 17 18 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/review.rb', line 16 def review_id @review_id end |
#reviewer_result_tags ⇒ Array<KeyValuePair>
Returns Array of KeyValue with Reviewer set Tags.
25 26 27 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/review.rb', line 25 def end |
#status ⇒ String
Returns The status string (<Pending, Complete>).
22 23 24 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/review.rb', line 22 def status @status end |
#sub_team ⇒ String
Returns Name of the subteam.
19 20 21 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/review.rb', line 19 def sub_team @sub_team end |
#type ⇒ String
Returns The type of content.
34 35 36 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/review.rb', line 34 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for Review class as Ruby Hash. This will be used for serialization/deserialization.
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/review.rb', line 50 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Review', type: { name: 'Composite', class_name: 'Review', model_properties: { review_id: { client_side_validation: true, required: false, serialized_name: 'ReviewId', type: { name: 'String' } }, sub_team: { client_side_validation: true, required: false, serialized_name: 'SubTeam', type: { name: 'String' } }, status: { client_side_validation: true, required: false, serialized_name: 'Status', type: { name: 'String' } }, reviewer_result_tags: { client_side_validation: true, required: false, serialized_name: 'ReviewerResultTags', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'KeyValuePairElementType', type: { name: 'Composite', class_name: 'KeyValuePair' } } } }, created_by: { client_side_validation: true, required: false, serialized_name: 'CreatedBy', type: { name: 'String' } }, metadata: { client_side_validation: true, required: false, serialized_name: 'Metadata', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'KeyValuePairElementType', type: { name: 'Composite', class_name: 'KeyValuePair' } } } }, type: { client_side_validation: true, required: false, serialized_name: 'Type', type: { name: 'String' } }, content: { client_side_validation: true, required: false, serialized_name: 'Content', type: { name: 'String' } }, content_id: { client_side_validation: true, required: false, serialized_name: 'ContentId', type: { name: 'String' } }, callback_endpoint: { client_side_validation: true, required: false, serialized_name: 'CallbackEndpoint', type: { name: 'String' } } } } } end |