Class: Azure::ServiceFabric::V6_4_0_36::Models::GuidPropertyValue
- Inherits:
-
PropertyValue
- Object
- PropertyValue
- Azure::ServiceFabric::V6_4_0_36::Models::GuidPropertyValue
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/guid_property_value.rb
Overview
Describes a Service Fabric property value of type Guid.
Instance Attribute Summary collapse
-
#data ⇒ Object
The data of the property value.
-
#Kind ⇒ Object
Returns the value of attribute Kind.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for GuidPropertyValue class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ GuidPropertyValue
constructor
A new instance of GuidPropertyValue.
Constructor Details
#initialize ⇒ GuidPropertyValue
Returns a new instance of GuidPropertyValue.
16 17 18 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/guid_property_value.rb', line 16 def initialize @Kind = "Guid" end |
Instance Attribute Details
#data ⇒ Object
Returns The data of the property value.
23 24 25 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/guid_property_value.rb', line 23 def data @data end |
#Kind ⇒ Object
Returns the value of attribute Kind.
20 21 22 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/guid_property_value.rb', line 20 def Kind @Kind end |
Class Method Details
.mapper ⇒ Object
Mapper for GuidPropertyValue class as Ruby Hash. This will be used for serialization/deserialization.
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/guid_property_value.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Guid', type: { name: 'Composite', class_name: 'GuidPropertyValue', model_properties: { Kind: { client_side_validation: true, required: true, serialized_name: 'Kind', type: { name: 'String' } }, data: { client_side_validation: true, required: true, serialized_name: 'Data', type: { name: 'String' } } } } } end |