Class: Azure::ARM::CognitiveServices::Models::Error
- Inherits:
-
Object
- Object
- Azure::ARM::CognitiveServices::Models::Error
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_cognitive_services/models/error.rb
Overview
Cognitive Services error object.
Instance Attribute Summary collapse
-
#error ⇒ ErrorBody
The error body.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Error class as Ruby Hash.
Instance Attribute Details
#error ⇒ ErrorBody
Returns The error body.
17 18 19 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/error.rb', line 17 def error @error end |
Class Method Details
.mapper ⇒ Object
Mapper for Error class as Ruby Hash. This will be used for serialization/deserialization.
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/error.rb', line 24 def self.mapper() { required: false, serialized_name: 'Error', type: { name: 'Composite', class_name: 'Error', model_properties: { error: { required: false, serialized_name: 'error', type: { name: 'Composite', class_name: 'ErrorBody' } } } } } end |