Class: Azure::ServiceFabric::V6_3_0_9::Models::Int64RangePartitionInformation
- Inherits:
-
PartitionInformation
- Object
- PartitionInformation
- Azure::ServiceFabric::V6_3_0_9::Models::Int64RangePartitionInformation
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/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
-
#high_key ⇒ String
partition.
-
#low_key ⇒ String
partition.
-
#ServicePartitionKind ⇒ Object
Returns the value of attribute ServicePartitionKind.
Attributes inherited from PartitionInformation
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Int64RangePartitionInformation class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ Int64RangePartitionInformation
constructor
A new instance of Int64RangePartitionInformation.
Constructor Details
#initialize ⇒ Int64RangePartitionInformation
Returns a new instance of Int64RangePartitionInformation.
17 18 19 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/int64range_partition_information.rb', line 17 def initialize @ServicePartitionKind = "Int64Range" end |
Instance Attribute Details
#high_key ⇒ String
partition.
29 30 31 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/int64range_partition_information.rb', line 29 def high_key @high_key end |
#low_key ⇒ String
partition.
25 26 27 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/int64range_partition_information.rb', line 25 def low_key @low_key end |
#ServicePartitionKind ⇒ Object
Returns the value of attribute ServicePartitionKind.
21 22 23 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/int64range_partition_information.rb', line 21 def ServicePartitionKind @ServicePartitionKind end |
Class Method Details
.mapper ⇒ Object
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.3.0.9/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 |