Class: Azure::ServiceFabric::V6_5_0_36::Models::DeletePropertyBatchOperation
- Inherits:
-
PropertyBatchOperation
- Object
- PropertyBatchOperation
- Azure::ServiceFabric::V6_5_0_36::Models::DeletePropertyBatchOperation
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/delete_property_batch_operation.rb
Overview
Represents a PropertyBatchOperation that deletes a specified property if it exists. Note that if one PropertyBatchOperation in a PropertyBatch fails, the entire batch fails and cannot be committed in a transactional manner.
Instance Attribute Summary collapse
-
#Kind ⇒ Object
Returns the value of attribute Kind.
Attributes inherited from PropertyBatchOperation
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DeletePropertyBatchOperation class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ DeletePropertyBatchOperation
constructor
A new instance of DeletePropertyBatchOperation.
Constructor Details
#initialize ⇒ DeletePropertyBatchOperation
Returns a new instance of DeletePropertyBatchOperation.
19 20 21 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/delete_property_batch_operation.rb', line 19 def initialize @Kind = "Delete" end |
Instance Attribute Details
#Kind ⇒ Object
Returns the value of attribute Kind.
23 24 25 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/delete_property_batch_operation.rb', line 23 def Kind @Kind end |
Class Method Details
.mapper ⇒ Object
Mapper for DeletePropertyBatchOperation 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 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/delete_property_batch_operation.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Delete', type: { name: 'Composite', class_name: 'DeletePropertyBatchOperation', model_properties: { property_name: { client_side_validation: true, required: true, serialized_name: 'PropertyName', type: { name: 'String' } }, Kind: { client_side_validation: true, required: true, serialized_name: 'Kind', type: { name: 'String' } } } } } end |