Class: Azure::ServiceFabric::V6_5_0_36::Models::PropertyDescription

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

Overview

Description of a Service Fabric property.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#custom_type_idString

the user is able to tag the type of the value of the property.

Returns:

  • (String)

    The property’s custom type ID. Using this property,



20
21
22
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/property_description.rb', line 20

def custom_type_id
  @custom_type_id
end

#property_nameString

Returns The name of the Service Fabric property.

Returns:

  • (String)

    The name of the Service Fabric property.



16
17
18
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/property_description.rb', line 16

def property_name
  @property_name
end

#valuePropertyValue

Returns Describes a Service Fabric property value.

Returns:



23
24
25
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/property_description.rb', line 23

def value
  @value
end

Class Method Details

.mapperObject

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.5.0.36/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