# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ServiceFabric::V6_2_0_9 module Models # # The metadata associated with a property, including the property's name. # class PropertyMetadata include MsRestAzure # @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' attr_accessor :type_id # @return [String] The property's custom type id. attr_accessor :custom_type_id # @return [String] The name of the parent Service Fabric Name for the # property. It could be thought of as the namespace/table under which the # property exists. attr_accessor :parent # @return [Integer] The length of the serialized property value. attr_accessor :size_in_bytes # @return [DateTime] Represents when the Property was last modified. Only # write operations will cause this field to be updated. attr_accessor :last_modified_utc_timestamp # @return [String] The version of the property. Every time a property is # modified, its sequence number is increased. attr_accessor :sequence_number # # Mapper for PropertyMetadata class as Ruby Hash. # This will be used for serialization/deserialization. # 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 end end end