class Azure::ServiceFabric::V6_4_0_36::Models::PropertyInfo

Information about a Service Fabric property.

Attributes

metadata[RW]

@return [PropertyMetadata] The metadata associated with a property, including the property's name.

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 PropertyInfo class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/6.4.0.36/generated/azure_service_fabric/models/property_info.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PropertyInfo',
    type: {
      name: 'Composite',
      class_name: 'PropertyInfo',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Name',
          type: {
            name: 'String'
          }
        },
        value: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Value',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'Kind',
            uber_parent: 'PropertyValue',
            class_name: 'PropertyValue'
          }
        },
        metadata: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Metadata',
          type: {
            name: 'Composite',
            class_name: 'PropertyMetadata'
          }
        }
      }
    }
  }
end