Class: TencentCloud::Tdmq::V20200217::ModifyTopicRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::ModifyTopicRequest
- Defined in:
- lib/v20200217/models.rb
Overview
ModifyTopic请求参数结构体
Instance Attribute Summary collapse
- #ClusterId ⇒ Object
- #EnvironmentId ⇒ Object
- #MsgTTL ⇒ Object
- #Partitions ⇒ Object
- #Remark ⇒ Object
- #TopicName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(environmentid = nil, topicname = nil, partitions = nil, clusterid = nil, remark = nil, msgttl = nil) ⇒ ModifyTopicRequest
constructor
A new instance of ModifyTopicRequest.
Constructor Details
#initialize(environmentid = nil, topicname = nil, partitions = nil, clusterid = nil, remark = nil, msgttl = nil) ⇒ ModifyTopicRequest
Returns a new instance of ModifyTopicRequest.
9547 9548 9549 9550 9551 9552 9553 9554 |
# File 'lib/v20200217/models.rb', line 9547 def initialize(environmentid=nil, topicname=nil, partitions=nil, clusterid=nil, remark=nil, msgttl=nil) @EnvironmentId = environmentid @TopicName = topicname @Partitions = partitions @ClusterId = clusterid @Remark = remark @MsgTTL = msgttl end |
Instance Attribute Details
#ClusterId ⇒ Object
9545 9546 9547 |
# File 'lib/v20200217/models.rb', line 9545 def ClusterId @ClusterId end |
#EnvironmentId ⇒ Object
9545 9546 9547 |
# File 'lib/v20200217/models.rb', line 9545 def EnvironmentId @EnvironmentId end |
#MsgTTL ⇒ Object
9545 9546 9547 |
# File 'lib/v20200217/models.rb', line 9545 def MsgTTL @MsgTTL end |
#Partitions ⇒ Object
9545 9546 9547 |
# File 'lib/v20200217/models.rb', line 9545 def Partitions @Partitions end |
#Remark ⇒ Object
9545 9546 9547 |
# File 'lib/v20200217/models.rb', line 9545 def Remark @Remark end |
#TopicName ⇒ Object
9545 9546 9547 |
# File 'lib/v20200217/models.rb', line 9545 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
9556 9557 9558 9559 9560 9561 9562 9563 |
# File 'lib/v20200217/models.rb', line 9556 def deserialize(params) @EnvironmentId = params['EnvironmentId'] @TopicName = params['TopicName'] @Partitions = params['Partitions'] @ClusterId = params['ClusterId'] @Remark = params['Remark'] @MsgTTL = params['MsgTTL'] end |