# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ServiceFabric::V6_2_0_9 module Models # # 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. # class DeletePropertyBatchOperation < PropertyBatchOperation include MsRestAzure def initialize @Kind = "Delete" end attr_accessor :Kind # # Mapper for DeletePropertyBatchOperation class as Ruby Hash. # This will be used for serialization/deserialization. # 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 end end end