Class: Azure::DataBox::Mgmt::V2018_01_01::Models::JobErrorDetails
- Inherits:
-
Object
- Object
- Azure::DataBox::Mgmt::V2018_01_01::Models::JobErrorDetails
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-01-01/generated/azure_mgmt_databox/models/job_error_details.rb
Overview
Job Error Details for providing the information and recommended action.
Instance Attribute Summary collapse
-
#error_code ⇒ Integer
Code for the error.
-
#error_message ⇒ String
Message for the error.
-
#exception_message ⇒ String
Contains the non localized exception message.
-
#recommended_action ⇒ String
Recommended action for the error.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for JobErrorDetails class as Ruby Hash.
Instance Attribute Details
#error_code ⇒ Integer
Returns Code for the error.
19 20 21 |
# File 'lib/2018-01-01/generated/azure_mgmt_databox/models/job_error_details.rb', line 19 def error_code @error_code end |
#error_message ⇒ String
Returns Message for the error.
16 17 18 |
# File 'lib/2018-01-01/generated/azure_mgmt_databox/models/job_error_details.rb', line 16 def @error_message end |
#exception_message ⇒ String
Returns Contains the non localized exception message.
25 26 27 |
# File 'lib/2018-01-01/generated/azure_mgmt_databox/models/job_error_details.rb', line 25 def @exception_message end |
#recommended_action ⇒ String
Returns Recommended action for the error.
22 23 24 |
# File 'lib/2018-01-01/generated/azure_mgmt_databox/models/job_error_details.rb', line 22 def recommended_action @recommended_action end |
Class Method Details
.mapper ⇒ Object
Mapper for JobErrorDetails class as Ruby Hash. This will be used for serialization/deserialization.
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 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 |
# File 'lib/2018-01-01/generated/azure_mgmt_databox/models/job_error_details.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'JobErrorDetails', type: { name: 'Composite', class_name: 'JobErrorDetails', model_properties: { error_message: { client_side_validation: true, required: false, read_only: true, serialized_name: 'errorMessage', type: { name: 'String' } }, error_code: { client_side_validation: true, required: false, read_only: true, serialized_name: 'errorCode', type: { name: 'Number' } }, recommended_action: { client_side_validation: true, required: false, read_only: true, serialized_name: 'recommendedAction', type: { name: 'String' } }, exception_message: { client_side_validation: true, required: false, read_only: true, serialized_name: 'exceptionMessage', type: { name: 'String' } } } } } end |