Class: Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::InnerErrorModel
- Inherits:
-
Object
- Object
- Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::InnerErrorModel
- Includes:
- MsRestAzure
- Defined in:
- lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/inner_error_model.rb
Overview
An object containing more specific information about the error. As per Microsoft One API guidelines - github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.
Instance Attribute Summary collapse
-
#code ⇒ String
containing error.
-
#inner_error ⇒ InnerErrorModel
information than the current object about the error.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for InnerErrorModel class as Ruby Hash.
Instance Attribute Details
#code ⇒ String
containing error.
19 20 21 |
# File 'lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/inner_error_model.rb', line 19 def code @code end |
#inner_error ⇒ InnerErrorModel
information than the current object about the error.
23 24 25 |
# File 'lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/inner_error_model.rb', line 23 def inner_error @inner_error end |
Class Method Details
.mapper ⇒ Object
Mapper for InnerErrorModel class as Ruby Hash. This will be used for serialization/deserialization.
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 55 56 57 58 59 |
# File 'lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/models/inner_error_model.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'InnerErrorModel', type: { name: 'Composite', class_name: 'InnerErrorModel', model_properties: { code: { client_side_validation: true, required: false, serialized_name: 'code', type: { name: 'String' } }, inner_error: { client_side_validation: true, required: false, serialized_name: 'innerError', type: { name: 'Composite', class_name: 'InnerErrorModel' } } } } } end |