class Azure::ServiceFabric::V6_2_0_9::Models::PropertyDescription

Description of a Service Fabric property.

Attributes

custom_type_id[RW]

@return [String] The property's custom type id. Using this property, the user is able to tag the type of the value of the property.

property_name[RW]

@return [String] The name of the Service Fabric property.

value[RW]

@return [PropertyValue] Describes a Service Fabric property value.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.2.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