Sha256: 10921cd468d5d91085a6d63789e0910fea25cb0f524f11776dc5331d51d4f250

Contents?: true

Size: 1.58 KB

Versions: 2

Compression:

Stored size: 1.58 KB

Contents

# 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::V7_0_0_42
  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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/7.0.0.42/generated/azure_service_fabric/models/delete_property_batch_operation.rb
azure_service_fabric-0.18.0 lib/7.0.0.42/generated/azure_service_fabric/models/delete_property_batch_operation.rb