Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::ApiError
- Inherits:
-
Object
- Object
- Azure::DataMigration::Mgmt::V2018_04_19::Models::ApiError
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-19/generated/azure_mgmt_data_migration/models/api_error.rb
Overview
Error information.
Instance Attribute Summary collapse
-
#error ⇒ ODataError
Error information in OData format.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApiError class as Ruby Hash.
Instance Attribute Details
#error ⇒ ODataError
Returns Error information in OData format.
16 17 18 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/api_error.rb', line 16 def error @error end |
Class Method Details
.mapper ⇒ Object
Mapper for ApiError class as Ruby Hash. This will be used for serialization/deserialization.
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/api_error.rb', line 23 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ApiError', type: { name: 'Composite', class_name: 'ApiError', model_properties: { error: { client_side_validation: true, required: false, serialized_name: 'error', type: { name: 'Composite', class_name: 'ODataError' } } } } } end |