Class: Azure::CognitiveServices::ContentModerator::V1_0::Models::Image
- Inherits:
-
Object
- Object
- Azure::CognitiveServices::ContentModerator::V1_0::Models::Image
- Includes:
- MsRestAzure
- Defined in:
- lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/image.rb
Overview
Image Properties.
Instance Attribute Summary collapse
-
#additional_info ⇒ Array<ImageAdditionalInfoItem>
Advanced info list.
-
#content_id ⇒ String
Content Id.
-
#status ⇒ Status
Status details.
-
#tracking_id ⇒ String
Tracking Id.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Image class as Ruby Hash.
Instance Attribute Details
#additional_info ⇒ Array<ImageAdditionalInfoItem>
Returns Advanced info list.
19 20 21 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/image.rb', line 19 def additional_info @additional_info end |
#content_id ⇒ String
Returns Content Id.
16 17 18 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/image.rb', line 16 def content_id @content_id end |
#status ⇒ Status
Returns Status details.
22 23 24 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/image.rb', line 22 def status @status end |
#tracking_id ⇒ String
Returns Tracking Id.
25 26 27 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/image.rb', line 25 def tracking_id @tracking_id end |
Class Method Details
.mapper ⇒ Object
Mapper for Image 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 86 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/image.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Image', type: { name: 'Composite', class_name: 'Image', model_properties: { content_id: { client_side_validation: true, required: false, serialized_name: 'ContentId', type: { name: 'String' } }, additional_info: { client_side_validation: true, required: false, serialized_name: 'AdditionalInfo', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ImageAdditionalInfoItemElementType', type: { name: 'Composite', class_name: 'ImageAdditionalInfoItem' } } } }, 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 |