class Azure::DataBox::Mgmt::V2018_01_01::Models::Error
Top level error for the job.
Attributes
code[RW]
@return [String] Error
code that can be used to programmatically identify the error.
message[RW]
@return [String] Describes the error in detail and provides debugging information.
Private Class Methods
mapper()
click to toggle source
Mapper for Error
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-01-01/generated/azure_mgmt_databox/models/error.rb, line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Error', type: { name: 'Composite', class_name: 'Error', model_properties: { code: { client_side_validation: true, required: false, read_only: true, serialized_name: 'code', type: { name: 'String' } }, message: { client_side_validation: true, required: false, read_only: true, serialized_name: 'message', type: { name: 'String' } } } } } end