class Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error
Cognitive Services error object.
Attributes
error[RW]
@return [ErrorBody] The error body.
Private Class Methods
mapper()
click to toggle source
Mapper for Error
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/error.rb, line 23 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Error', type: { name: 'Composite', class_name: 'Error', model_properties: { error: { client_side_validation: true, required: false, serialized_name: 'error', type: { name: 'Composite', class_name: 'ErrorBody' } } } } } end