Class: Azure::ServiceFabric::V6_4_0_36::Models::FailedPropertyBatchInfo
- Inherits:
-
PropertyBatchInfo
- Object
- PropertyBatchInfo
- Azure::ServiceFabric::V6_4_0_36::Models::FailedPropertyBatchInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/failed_property_batch_info.rb
Overview
Derived from PropertyBatchInfo. Represents the property batch failing. Contains information about the specific batch failure.
Instance Attribute Summary collapse
-
#error_message ⇒ String
the exception thrown due to the first unsuccessful operation in the property batch.
-
#Kind ⇒ Object
Returns the value of attribute Kind.
-
#operation_index ⇒ Integer
property batch.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for FailedPropertyBatchInfo class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ FailedPropertyBatchInfo
constructor
A new instance of FailedPropertyBatchInfo.
Constructor Details
#initialize ⇒ FailedPropertyBatchInfo
Returns a new instance of FailedPropertyBatchInfo.
17 18 19 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/failed_property_batch_info.rb', line 17 def initialize @Kind = "Failed" end |
Instance Attribute Details
#error_message ⇒ String
the exception thrown due to the first unsuccessful operation in the property batch.
26 27 28 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/failed_property_batch_info.rb', line 26 def @error_message end |
#Kind ⇒ Object
Returns the value of attribute Kind.
21 22 23 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/failed_property_batch_info.rb', line 21 def Kind @Kind end |
#operation_index ⇒ Integer
property batch.
30 31 32 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/failed_property_batch_info.rb', line 30 def operation_index @operation_index end |
Class Method Details
.mapper ⇒ Object
Mapper for FailedPropertyBatchInfo 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 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/failed_property_batch_info.rb', line 37 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Failed', type: { name: 'Composite', class_name: 'FailedPropertyBatchInfo', model_properties: { Kind: { client_side_validation: true, required: true, serialized_name: 'Kind', type: { name: 'String' } }, error_message: { client_side_validation: true, required: false, serialized_name: 'ErrorMessage', type: { name: 'String' } }, operation_index: { client_side_validation: true, required: false, serialized_name: 'OperationIndex', type: { name: 'Number' } } } } } end |