Class: Azure::ServiceFabric::V6_3_0_9::Models::CheckExistsPropertyBatchOperation
- Inherits:
-
PropertyBatchOperation
- Object
- PropertyBatchOperation
- Azure::ServiceFabric::V6_3_0_9::Models::CheckExistsPropertyBatchOperation
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/check_exists_property_batch_operation.rb
Overview
Represents a PropertyBatchOperation that compares the Boolean existence of a property with the Exists argument. The PropertyBatchOperation operation fails if the property’s existence is not equal to the Exists argument. The CheckExistsPropertyBatchOperation is generally used as a precondition for the write operations in the batch. 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
-
#exists ⇒ Boolean
operation to pass.
-
#Kind ⇒ Object
Returns the value of attribute Kind.
Attributes inherited from PropertyBatchOperation
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CheckExistsPropertyBatchOperation class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ CheckExistsPropertyBatchOperation
constructor
A new instance of CheckExistsPropertyBatchOperation.
Constructor Details
#initialize ⇒ CheckExistsPropertyBatchOperation
Returns a new instance of CheckExistsPropertyBatchOperation.
23 24 25 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/check_exists_property_batch_operation.rb', line 23 def initialize @Kind = "CheckExists" end |
Instance Attribute Details
#exists ⇒ Boolean
operation to pass.
31 32 33 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/check_exists_property_batch_operation.rb', line 31 def exists @exists end |
#Kind ⇒ Object
Returns the value of attribute Kind.
27 28 29 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/check_exists_property_batch_operation.rb', line 27 def Kind @Kind end |
Class Method Details
.mapper ⇒ Object
Mapper for CheckExistsPropertyBatchOperation class as Ruby Hash. This will be used for serialization/deserialization.
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 74 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/check_exists_property_batch_operation.rb', line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CheckExists', type: { name: 'Composite', class_name: 'CheckExistsPropertyBatchOperation', 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' } }, exists: { client_side_validation: true, required: true, serialized_name: 'Exists', type: { name: 'Boolean' } } } } } end |