Class: Azure::Labservices::Mgmt::V2018_10_15::Models::OperationError
- Inherits:
-
Object
- Object
- Azure::Labservices::Mgmt::V2018_10_15::Models::OperationError
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-10-15/generated/azure_mgmt_labservices/models/operation_error.rb
Overview
Error details for the operation in case of a failure.
Instance Attribute Summary collapse
-
#code ⇒ String
The error code of the operation error.
-
#message ⇒ String
The error message of the operation error.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for OperationError class as Ruby Hash.
Instance Attribute Details
#code ⇒ String
Returns The error code of the operation error.
16 17 18 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/operation_error.rb', line 16 def code @code end |
#message ⇒ String
Returns The error message of the operation error.
19 20 21 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/operation_error.rb', line 19 def @message end |
Class Method Details
.mapper ⇒ Object
Mapper for OperationError class as Ruby Hash. This will be used for serialization/deserialization.
26 27 28 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 |
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/operation_error.rb', line 26 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'OperationError', type: { name: 'Composite', class_name: 'OperationError', model_properties: { code: { client_side_validation: true, required: false, serialized_name: 'code', type: { name: 'String' } }, message: { client_side_validation: true, required: false, serialized_name: 'message', type: { name: 'String' } } } } } end |