Class: TencentCloud::Ckafka::V20190819::GroupOffsetPartition
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::GroupOffsetPartition
- Defined in:
- lib/v20190819/models.rb
Overview
组偏移量分区对象
Instance Attribute Summary collapse
- #ErrorCode ⇒ Object
- #Lag ⇒ Object
- #LogEndOffset ⇒ Object
- #Metadata ⇒ Object
- #Offset ⇒ Object
- #Partition ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(partition = nil, offset = nil, metadata = nil, errorcode = nil, logendoffset = nil, lag = nil) ⇒ GroupOffsetPartition
constructor
A new instance of GroupOffsetPartition.
Constructor Details
#initialize(partition = nil, offset = nil, metadata = nil, errorcode = nil, logendoffset = nil, lag = nil) ⇒ GroupOffsetPartition
Returns a new instance of GroupOffsetPartition.
7401 7402 7403 7404 7405 7406 7407 7408 |
# File 'lib/v20190819/models.rb', line 7401 def initialize(partition=nil, offset=nil, =nil, errorcode=nil, logendoffset=nil, lag=nil) @Partition = partition @Offset = offset @Metadata = @ErrorCode = errorcode @LogEndOffset = logendoffset @Lag = lag end |
Instance Attribute Details
#ErrorCode ⇒ Object
7399 7400 7401 |
# File 'lib/v20190819/models.rb', line 7399 def ErrorCode @ErrorCode end |
#Lag ⇒ Object
7399 7400 7401 |
# File 'lib/v20190819/models.rb', line 7399 def Lag @Lag end |
#LogEndOffset ⇒ Object
7399 7400 7401 |
# File 'lib/v20190819/models.rb', line 7399 def LogEndOffset @LogEndOffset end |
#Metadata ⇒ Object
7399 7400 7401 |
# File 'lib/v20190819/models.rb', line 7399 def Metadata @Metadata end |
#Offset ⇒ Object
7399 7400 7401 |
# File 'lib/v20190819/models.rb', line 7399 def Offset @Offset end |
#Partition ⇒ Object
7399 7400 7401 |
# File 'lib/v20190819/models.rb', line 7399 def Partition @Partition end |
Instance Method Details
#deserialize(params) ⇒ Object
7410 7411 7412 7413 7414 7415 7416 7417 |
# File 'lib/v20190819/models.rb', line 7410 def deserialize(params) @Partition = params['Partition'] @Offset = params['Offset'] @Metadata = params['Metadata'] @ErrorCode = params['ErrorCode'] @LogEndOffset = params['LogEndOffset'] @Lag = params['Lag'] end |