Class: Azure::RecoveryServicesBackup::Mgmt::V2020_02_02::Models::OperationStatusError
- Inherits:
-
Object
- Object
- Azure::RecoveryServicesBackup::Mgmt::V2020_02_02::Models::OperationStatusError
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-02-02/generated/azure_mgmt_recovery_services_backup/models/operation_status_error.rb
Overview
Error information associated with operation status call.
Instance Attribute Summary collapse
-
#code ⇒ String
Error code of the operation failure.
-
#message ⇒ String
Error message displayed if the operation failure.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for OperationStatusError class as Ruby Hash.
Instance Attribute Details
#code ⇒ String
Returns Error code of the operation failure.
16 17 18 |
# File 'lib/2020-02-02/generated/azure_mgmt_recovery_services_backup/models/operation_status_error.rb', line 16 def code @code end |
#message ⇒ String
Returns Error message displayed if the operation failure.
19 20 21 |
# File 'lib/2020-02-02/generated/azure_mgmt_recovery_services_backup/models/operation_status_error.rb', line 19 def end |
Class Method Details
.mapper ⇒ Object
Mapper for OperationStatusError 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/2020-02-02/generated/azure_mgmt_recovery_services_backup/models/operation_status_error.rb', line 26 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'OperationStatusError', type: { name: 'Composite', class_name: 'OperationStatusError', 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 |