Class: Azure::ServiceFabric::V6_3_0_9::Models::PropertyDescription
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_3_0_9::Models::PropertyDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/property_description.rb
Overview
Description of a Service Fabric property.
Instance Attribute Summary collapse
-
#custom_type_id ⇒ String
the user is able to tag the type of the value of the property.
-
#property_name ⇒ String
The name of the Service Fabric property.
-
#value ⇒ PropertyValue
Describes a Service Fabric property value.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PropertyDescription class as Ruby Hash.
Instance Attribute Details
#custom_type_id ⇒ String
the user is able to tag the type of the value of the property.
20 21 22 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/property_description.rb', line 20 def custom_type_id @custom_type_id end |
#property_name ⇒ String
Returns The name of the Service Fabric property.
16 17 18 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/property_description.rb', line 16 def property_name @property_name end |
#value ⇒ PropertyValue
Returns Describes a Service Fabric property value.
23 24 25 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/property_description.rb', line 23 def value @value end |
Class Method Details
.mapper ⇒ Object
Mapper for PropertyDescription 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 59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/property_description.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PropertyDescription', type: { name: 'Composite', class_name: 'PropertyDescription', model_properties: { property_name: { client_side_validation: true, required: true, serialized_name: 'PropertyName', type: { name: 'String' } }, custom_type_id: { client_side_validation: true, required: false, serialized_name: 'CustomTypeId', type: { name: 'String' } }, value: { client_side_validation: true, required: true, serialized_name: 'Value', type: { name: 'Composite', polymorphic_discriminator: 'Kind', uber_parent: 'PropertyValue', class_name: 'PropertyValue' } } } } } end |