Class: Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageIds
- Inherits:
-
Object
- Object
- Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageIds
- Includes:
- MsRestAzure
- Defined in:
- lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/image_ids.rb
Overview
Image Id properties.
Instance Attribute Summary collapse
-
#content_ids ⇒ Array<Integer>
Id of the contents.
-
#content_source ⇒ String
Source of the content.
-
#status ⇒ Status
Get Image status.
-
#tracking_id ⇒ String
Tracking Id.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ImageIds class as Ruby Hash.
Instance Attribute Details
#content_ids ⇒ Array<Integer>
19 20 21 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/image_ids.rb', line 19 def content_ids @content_ids end |
#content_source ⇒ String
16 17 18 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/image_ids.rb', line 16 def content_source @content_source end |
#status ⇒ Status
22 23 24 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/image_ids.rb', line 22 def status @status end |
#tracking_id ⇒ String
25 26 27 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/image_ids.rb', line 25 def tracking_id @tracking_id end |
Class Method Details
.mapper ⇒ Object
Mapper for ImageIds class as Ruby Hash. This will be used for serialization/deserialization.
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 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 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/image_ids.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ImageIds', type: { name: 'Composite', class_name: 'ImageIds', model_properties: { content_source: { client_side_validation: true, required: false, serialized_name: 'ContentSource', type: { name: 'String' } }, content_ids: { client_side_validation: true, required: false, serialized_name: 'ContentIds', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'NumberElementType', type: { name: 'Number' } } } }, status: { client_side_validation: true, required: false, serialized_name: 'Status', type: { name: 'Composite', class_name: 'Status' } }, tracking_id: { client_side_validation: true, required: false, serialized_name: 'TrackingId', type: { name: 'String' } } } } } end |