Class: Azure::ServiceFabric::V6_4_0_36::Models::PropertyValue

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

Overview

Describes a Service Fabric property value.

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePropertyValue

Returns a new instance of PropertyValue.



22
23
24
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/property_value.rb', line 22

def initialize
  @Kind = "PropertyValue"
end

Instance Attribute Details

#KindObject

Returns the value of attribute Kind.



26
27
28
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/property_value.rb', line 26

def Kind
  @Kind
end

Class Method Details

.mapperObject

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



33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/property_value.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PropertyValue',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'Kind',
      uber_parent: 'PropertyValue',
      class_name: 'PropertyValue',
      model_properties: {
      }
    }
  }
end