Class: Azure::ServiceFabric::V6_5_0_36::Models::FabricError
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::FabricError
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/fabric_error.rb
Overview
The REST API operations for Service Fabric return standard HTTP status codes. This type defines the additional information returned from the Service Fabric API operations that are not successful.
Instance Attribute Summary collapse
-
#error ⇒ FabricErrorError
message.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for FabricError class as Ruby Hash.
Instance Attribute Details
#error ⇒ FabricErrorError
message.
19 20 21 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/fabric_error.rb', line 19 def error @error end |
Class Method Details
.mapper ⇒ Object
Mapper for FabricError class as Ruby Hash. This will be used for serialization/deserialization.
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/fabric_error.rb', line 26 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'FabricError', type: { name: 'Composite', class_name: 'FabricError', model_properties: { error: { client_side_validation: true, required: true, serialized_name: 'Error', type: { name: 'Composite', class_name: 'FabricErrorError' } } } } } end |