Class: Azure::ServiceFabric::V6_4_0_36::Models::PropertyBatchOperation

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.4.0.36/generated/azure_service_fabric/models/property_batch_operation.rb

Overview

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

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePropertyBatchOperation

Returns a new instance of PropertyBatchOperation.



24
25
26
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/property_batch_operation.rb', line 24

def initialize
  @Kind = "PropertyBatchOperation"
end

Instance Attribute Details

#KindObject

Returns the value of attribute Kind.



28
29
30
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/property_batch_operation.rb', line 28

def Kind
  @Kind
end

#property_nameString

Returns The name of the Service Fabric property.

Returns:

  • (String)

    The name of the Service Fabric property.



31
32
33
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/property_batch_operation.rb', line 31

def property_name
  @property_name
end

Class Method Details

.mapperObject

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



38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/6.4.0.36/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