Class: Azure::ServiceFabric::V6_4_0_36::Models::PropertyValue
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_4_0_36::Models::PropertyValue
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/property_value.rb
Overview
Describes a Service Fabric property value.
Direct Known Subclasses
BinaryPropertyValue, DoublePropertyValue, GuidPropertyValue, Int64PropertyValue, StringPropertyValue
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#Kind ⇒ Object
Returns the value of attribute Kind.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PropertyValue class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ PropertyValue
constructor
A new instance of PropertyValue.
Constructor Details
#initialize ⇒ PropertyValue
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
#Kind ⇒ Object
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
.mapper ⇒ Object
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 |