class Azure::ServiceFabric::V6_4_0_36::Models::PropertyMetadata

The metadata associated with a property, including the property's name.

Attributes

custom_type_id[RW]

@return [String] The property's custom type ID.

last_modified_utc_timestamp[RW]

@return [DateTime] Represents when the Property was last modified. Only write operations will cause this field to be updated.

parent[RW]

@return [String] The name of the parent Service Fabric Name for the property. It could be thought of as the name-space/table under which the property exists.

sequence_number[RW]

@return [String] The version of the property. Every time a property is modified, its sequence number is increased.

size_in_bytes[RW]

@return [Integer] The length of the serialized property value.

type_id[RW]

@return [PropertyValueKind] The kind of property, determined by the type of data. Following are the possible values. Possible values include: 'Invalid', 'Binary', 'Int64', 'Double', 'String', 'Guid'

Public Class Methods

mapper() click to toggle source

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

# File lib/6.4.0.36/generated/azure_service_fabric/models/property_metadata.rb, line 44
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PropertyMetadata',
    type: {
      name: 'Composite',
      class_name: 'PropertyMetadata',
      model_properties: {
        type_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'TypeId',
          type: {
            name: 'String'
          }
        },
        custom_type_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'CustomTypeId',
          type: {
            name: 'String'
          }
        },
        parent: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Parent',
          type: {
            name: 'String'
          }
        },
        size_in_bytes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'SizeInBytes',
          type: {
            name: 'Number'
          }
        },
        last_modified_utc_timestamp: {
          client_side_validation: true,
          required: false,
          serialized_name: 'LastModifiedUtcTimestamp',
          type: {
            name: 'DateTime'
          }
        },
        sequence_number: {
          client_side_validation: true,
          required: false,
          serialized_name: 'SequenceNumber',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end