Class: Azure::Compute::Mgmt::V2017_12_01::Models::ApiErrorBase
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2017_12_01::Models::ApiErrorBase
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-12-01/generated/azure_mgmt_compute/models/api_error_base.rb
Overview
Api error base.
Instance Attribute Summary collapse
-
#code ⇒ String
The error code.
-
#message ⇒ String
The error message.
-
#target ⇒ String
The target of the particular error.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApiErrorBase class as Ruby Hash.
Instance Attribute Details
#code ⇒ String
Returns The error code.
16 17 18 |
# File 'lib/2017-12-01/generated/azure_mgmt_compute/models/api_error_base.rb', line 16 def code @code end |
#message ⇒ String
Returns The error message.
22 23 24 |
# File 'lib/2017-12-01/generated/azure_mgmt_compute/models/api_error_base.rb', line 22 def @message end |
#target ⇒ String
Returns The target of the particular error.
19 20 21 |
# File 'lib/2017-12-01/generated/azure_mgmt_compute/models/api_error_base.rb', line 19 def target @target end |
Class Method Details
.mapper ⇒ Object
Mapper for ApiErrorBase class as Ruby Hash. This will be used for serialization/deserialization.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/2017-12-01/generated/azure_mgmt_compute/models/api_error_base.rb', line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ApiErrorBase', type: { name: 'Composite', class_name: 'ApiErrorBase', model_properties: { code: { client_side_validation: true, required: false, serialized_name: 'code', type: { name: 'String' } }, target: { client_side_validation: true, required: false, serialized_name: 'target', type: { name: 'String' } }, message: { client_side_validation: true, required: false, serialized_name: 'message', type: { name: 'String' } } } } } end |