class Azure::ServiceFabric::V7_0_0_42::Models::DeletePropertyBatchOperation

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.

Attributes

Kind[RW]

Private Class Methods

mapper() click to toggle source

Mapper for DeletePropertyBatchOperation class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/7.0.0.42/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
new() click to toggle source
# File lib/7.0.0.42/generated/azure_service_fabric/models/delete_property_batch_operation.rb, line 19
def initialize
  @Kind = "Delete"
end