class Azure::ServiceFabric::V6_3_0_9::Models::CheckExistsPropertyBatchOperation
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.
Attributes
Kind[RW]
exists[RW]
@return [Boolean] Whether or not the property should exist for the operation to pass.
Public Class Methods
mapper()
click to toggle source
Mapper for CheckExistsPropertyBatchOperation
class as Ruby Hash. This will be used for serialization/deserialization.
# 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
new()
click to toggle source
# File lib/6.3.0.9/generated/azure_service_fabric/models/check_exists_property_batch_operation.rb, line 23 def initialize @Kind = "CheckExists" end