Class: Azure::ServiceFabric::V6_5_0_36::Models::Int64RangePartitionInformation

Inherits:
PartitionInformation
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.5.0.36/generated/azure_service_fabric/models/int64range_partition_information.rb

Overview

Describes the partition information for the integer range that is based on partition schemes.

Instance Attribute Summary collapse

Attributes inherited from PartitionInformation

#id

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeInt64RangePartitionInformation

Returns a new instance of Int64RangePartitionInformation.



17
18
19
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/int64range_partition_information.rb', line 17

def initialize
  @ServicePartitionKind = "Int64Range"
end

Instance Attribute Details

#high_keyString

partition.

Returns:

  • (String)

    Specifies the maximum key value handled by this



29
30
31
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/int64range_partition_information.rb', line 29

def high_key
  @high_key
end

#low_keyString

partition.

Returns:

  • (String)

    Specifies the minimum key value handled by this



25
26
27
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/int64range_partition_information.rb', line 25

def low_key
  @low_key
end

#ServicePartitionKindObject

Returns the value of attribute ServicePartitionKind.



21
22
23
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/int64range_partition_information.rb', line 21

def ServicePartitionKind
  @ServicePartitionKind
end

Class Method Details

.mapperObject

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



36
37
38
39
40
41
42
43
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
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/int64range_partition_information.rb', line 36

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Int64Range',
    type: {
      name: 'Composite',
      class_name: 'Int64RangePartitionInformation',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Id',
          type: {
            name: 'String'
          }
        },
        ServicePartitionKind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ServicePartitionKind',
          type: {
            name: 'String'
          }
        },
        low_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'LowKey',
          type: {
            name: 'String'
          }
        },
        high_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HighKey',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end