Class: Azure::ServiceFabric::Mgmt::V2016_09_01::Models::ErrorModel
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::Mgmt::V2016_09_01::Models::ErrorModel
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-09-01/generated/azure_mgmt_service_fabric/models/error_model.rb
Overview
The structure of the error
Instance Attribute Summary collapse
-
#error ⇒ ErrorModelError
The error detail.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ErrorModel class as Ruby Hash.
Instance Attribute Details
#error ⇒ ErrorModelError
Returns The error detail.
16 17 18 |
# File 'lib/2016-09-01/generated/azure_mgmt_service_fabric/models/error_model.rb', line 16 def error @error end |
Class Method Details
.mapper ⇒ Object
Mapper for ErrorModel 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/2016-09-01/generated/azure_mgmt_service_fabric/models/error_model.rb', line 23 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ErrorModel', type: { name: 'Composite', class_name: 'ErrorModel', model_properties: { error: { client_side_validation: true, required: false, serialized_name: 'error', type: { name: 'Composite', class_name: 'ErrorModelError' } } } } } end |