class Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl
Model object.
Attributes
data_representation[RW]
@return [String] . Default value: 'URL' .
value[RW]
@return [String]
Private Class Methods
mapper()
click to toggle source
Mapper for ImageUrl
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/image_url.rb, line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ImageUrl', type: { name: 'Composite', class_name: 'ImageUrl', model_properties: { data_representation: { client_side_validation: true, required: false, serialized_name: 'DataRepresentation', default_value: 'URL', type: { name: 'String' } }, value: { client_side_validation: true, required: false, serialized_name: 'Value', type: { name: 'String' } } } } } end