Class: TencentCloud::Dts::V20211206::ResetConsumerGroupOffsetRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dts::V20211206::ResetConsumerGroupOffsetRequest
- Defined in:
- lib/v20211206/models.rb
Overview
ResetConsumerGroupOffset请求参数结构体
Instance Attribute Summary collapse
- #ConsumerGroupName ⇒ Object
- #PartitionNos ⇒ Object
- #ResetDatetime ⇒ Object
- #ResetMode ⇒ Object
- #SubscribeId ⇒ Object
- #TopicName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(subscribeid = nil, topicname = nil, consumergroupname = nil, partitionnos = nil, resetmode = nil, resetdatetime = nil) ⇒ ResetConsumerGroupOffsetRequest
constructor
A new instance of ResetConsumerGroupOffsetRequest.
Constructor Details
#initialize(subscribeid = nil, topicname = nil, consumergroupname = nil, partitionnos = nil, resetmode = nil, resetdatetime = nil) ⇒ ResetConsumerGroupOffsetRequest
Returns a new instance of ResetConsumerGroupOffsetRequest.
6222 6223 6224 6225 6226 6227 6228 6229 |
# File 'lib/v20211206/models.rb', line 6222 def initialize(subscribeid=nil, topicname=nil, consumergroupname=nil, partitionnos=nil, resetmode=nil, resetdatetime=nil) @SubscribeId = subscribeid @TopicName = topicname @ConsumerGroupName = consumergroupname @PartitionNos = partitionnos @ResetMode = resetmode @ResetDatetime = resetdatetime end |
Instance Attribute Details
#ConsumerGroupName ⇒ Object
6220 6221 6222 |
# File 'lib/v20211206/models.rb', line 6220 def ConsumerGroupName @ConsumerGroupName end |
#PartitionNos ⇒ Object
6220 6221 6222 |
# File 'lib/v20211206/models.rb', line 6220 def PartitionNos @PartitionNos end |
#ResetDatetime ⇒ Object
6220 6221 6222 |
# File 'lib/v20211206/models.rb', line 6220 def ResetDatetime @ResetDatetime end |
#ResetMode ⇒ Object
6220 6221 6222 |
# File 'lib/v20211206/models.rb', line 6220 def ResetMode @ResetMode end |
#SubscribeId ⇒ Object
6220 6221 6222 |
# File 'lib/v20211206/models.rb', line 6220 def SubscribeId @SubscribeId end |
#TopicName ⇒ Object
6220 6221 6222 |
# File 'lib/v20211206/models.rb', line 6220 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
6231 6232 6233 6234 6235 6236 6237 6238 |
# File 'lib/v20211206/models.rb', line 6231 def deserialize(params) @SubscribeId = params['SubscribeId'] @TopicName = params['TopicName'] @ConsumerGroupName = params['ConsumerGroupName'] @PartitionNos = params['PartitionNos'] @ResetMode = params['ResetMode'] @ResetDatetime = params['ResetDatetime'] end |