class Azure::ServiceFabric::V7_0_0_42::Models::PropertyBatchOperation

Represents the base type for property operations that can be put into a batch and submitted.

Attributes

Kind[RW]
property_name[RW]

@return [String] The name of the Service Fabric property.

Private Class Methods

mapper() click to toggle source

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

# File lib/7.0.0.42/generated/azure_service_fabric/models/property_batch_operation.rb, line 38
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PropertyBatchOperation',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'Kind',
      uber_parent: 'PropertyBatchOperation',
      class_name: 'PropertyBatchOperation',
      model_properties: {
        property_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'PropertyName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/7.0.0.42/generated/azure_service_fabric/models/property_batch_operation.rb, line 24
def initialize
  @Kind = "PropertyBatchOperation"
end