Class: Azure::ServiceFabric::V6_4_0_36::Models::PropertyMetadata

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

Overview

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#custom_type_idString

Returns The property’s custom type ID.

Returns:

  • (String)

    The property’s custom type ID.



21
22
23
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/property_metadata.rb', line 21

def custom_type_id
  @custom_type_id
end

#last_modified_utc_timestampDateTime

write operations will cause this field to be updated.

Returns:

  • (DateTime)

    Represents when the Property was last modified. Only



33
34
35
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/property_metadata.rb', line 33

def last_modified_utc_timestamp
  @last_modified_utc_timestamp
end

#parentString

property. It could be thought of as the name-space/table under which the property exists.

Returns:

  • (String)

    The name of the parent Service Fabric Name for the



26
27
28
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/property_metadata.rb', line 26

def parent
  @parent
end

#sequence_numberString

modified, its sequence number is increased.

Returns:

  • (String)

    The version of the property. Every time a property is



37
38
39
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/property_metadata.rb', line 37

def sequence_number
  @sequence_number
end

#size_in_bytesInteger

Returns The length of the serialized property value.

Returns:

  • (Integer)

    The length of the serialized property value.



29
30
31
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/property_metadata.rb', line 29

def size_in_bytes
  @size_in_bytes
end

#type_idPropertyValueKind

type of data. Following are the possible values. Possible values include: ‘Invalid’, ‘Binary’, ‘Int64’, ‘Double’, ‘String’, ‘Guid’

Returns:



18
19
20
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/property_metadata.rb', line 18

def type_id
  @type_id
end

Class Method Details

.mapperObject

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



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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# 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