Class: Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::BatchAIError
- Inherits:
-
Object
- Object
- Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::BatchAIError
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/batch_aierror.rb
Overview
An error response from the Batch AI service.
Instance Attribute Summary collapse
-
#code ⇒ String
are intended to be consumed programmatically.
-
#details ⇒ Array<NameValuePair>
error.
-
#message ⇒ String
suitable for display in a user interface.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for BatchAIError class as Ruby Hash.
Instance Attribute Details
#code ⇒ String
are intended to be consumed programmatically.
17 18 19 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/batch_aierror.rb', line 17 def code @code end |
#details ⇒ Array<NameValuePair>
error.
25 26 27 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/batch_aierror.rb', line 25 def details @details end |
#message ⇒ String
suitable for display in a user interface.
21 22 23 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/batch_aierror.rb', line 21 def end |
Class Method Details
.mapper ⇒ Object
Mapper for BatchAIError 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 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/batch_aierror.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'BatchAIError', type: { name: 'Composite', class_name: 'BatchAIError', 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' } }, details: { client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'NameValuePairElementType', type: { name: 'Composite', class_name: 'NameValuePair' } } } } } } } end |