Class: TencentCloud::Ckafka::V20190819::PartitionOffset
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::PartitionOffset
- Defined in:
- lib/v20190819/models.rb
Overview
分区和位移
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(partition = nil, offset = nil) ⇒ PartitionOffset
constructor
A new instance of PartitionOffset.
Constructor Details
#initialize(partition = nil, offset = nil) ⇒ PartitionOffset
Returns a new instance of PartitionOffset.
10271 10272 10273 10274 |
# File 'lib/v20190819/models.rb', line 10271 def initialize(partition=nil, offset=nil) @Partition = partition @Offset = offset end |
Instance Attribute Details
#Offset ⇒ Object
10269 10270 10271 |
# File 'lib/v20190819/models.rb', line 10269 def Offset @Offset end |
#Partition ⇒ Object
10269 10270 10271 |
# File 'lib/v20190819/models.rb', line 10269 def Partition @Partition end |
Instance Method Details
#deserialize(params) ⇒ Object
10276 10277 10278 10279 |
# File 'lib/v20190819/models.rb', line 10276 def deserialize(params) @Partition = params['Partition'] @Offset = params['Offset'] end |