Class: Azure::CognitiveServices::LuisAuthoring::V2_0::Models::ErrorResponse
- Inherits:
-
Object
- Object
- Azure::CognitiveServices::LuisAuthoring::V2_0::Models::ErrorResponse
- Includes:
- MsRestAzure
- Defined in:
- lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/error_response.rb
Overview
Error response when invoking an operation on the API.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
collection.
- #error_type ⇒ String
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ErrorResponse class as Ruby Hash.
Instance Attribute Details
#additional_properties ⇒ Object
collection
17 18 19 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/error_response.rb', line 17 def additional_properties @additional_properties end |
#error_type ⇒ String
20 21 22 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/error_response.rb', line 20 def error_type @error_type end |
Class Method Details
.mapper ⇒ Object
Mapper for ErrorResponse class as Ruby Hash. This will be used for serialization/deserialization.
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 55 56 57 58 59 60 61 62 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/error_response.rb', line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ErrorResponse', type: { name: 'Composite', class_name: 'ErrorResponse', model_properties: { additional_properties: { client_side_validation: true, required: false, type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'ObjectElementType', type: { name: 'Object' } } } }, error_type: { client_side_validation: true, required: false, serialized_name: 'errorType', type: { name: 'String' } } } } } end |