Class: Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::ErrorResponse
- Inherits:
-
Object
- Object
- Azure::MixedReality::Mgmt::V2019_12_02_preview::Models::ErrorResponse
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-12-02-preview/generated/azure_mgmt_mixedreality/models/error_response.rb
Overview
Response on Error
Instance Attribute Summary collapse
-
#code ⇒ String
the error.
-
#details ⇒ String
pairs for code and message, and MAY contain a name/value pair for target, as described above.The contents of this section are service-defined but must adhere to the aforementioned schema.
-
#message ⇒ String
information.
-
#target ⇒ String
The target of the particular error.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ErrorResponse class as Ruby Hash.
Instance Attribute Details
#code ⇒ String
the error.
21 22 23 |
# File 'lib/2019-12-02-preview/generated/azure_mgmt_mixedreality/models/error_response.rb', line 21 def code @code end |
#details ⇒ String
pairs for code and message, and MAY contain a name/value pair for target, as described above.The contents of this section are service-defined but must adhere to the aforementioned schema.
30 31 32 |
# File 'lib/2019-12-02-preview/generated/azure_mgmt_mixedreality/models/error_response.rb', line 30 def details @details end |
#message ⇒ String
information
17 18 19 |
# File 'lib/2019-12-02-preview/generated/azure_mgmt_mixedreality/models/error_response.rb', line 17 def @message end |
#target ⇒ String
Returns The target of the particular error.
24 25 26 |
# File 'lib/2019-12-02-preview/generated/azure_mgmt_mixedreality/models/error_response.rb', line 24 def target @target end |
Class Method Details
.mapper ⇒ Object
Mapper for ErrorResponse class as Ruby Hash. This will be used for serialization/deserialization.
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 81 |
# File 'lib/2019-12-02-preview/generated/azure_mgmt_mixedreality/models/error_response.rb', line 37 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ErrorResponse', type: { name: 'Composite', class_name: 'ErrorResponse', model_properties: { message: { client_side_validation: true, required: true, serialized_name: 'message', type: { name: 'String' } }, code: { client_side_validation: true, required: true, serialized_name: 'code', type: { name: 'String' } }, target: { client_side_validation: true, required: false, serialized_name: 'target', type: { name: 'String' } }, details: { client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'String' } } } } } end |