Class: TencentCloud::Tdmq::V20200217::ModifyRocketMQTopicRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::ModifyRocketMQTopicRequest
- Defined in:
- lib/v20200217/models.rb
Overview
ModifyRocketMQTopic请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, namespaceid = nil, topic = nil, remark = nil, partitionnum = nil) ⇒ ModifyRocketMQTopicRequest
constructor
A new instance of ModifyRocketMQTopicRequest.
Constructor Details
#initialize(clusterid = nil, namespaceid = nil, topic = nil, remark = nil, partitionnum = nil) ⇒ ModifyRocketMQTopicRequest
Returns a new instance of ModifyRocketMQTopicRequest.
9434 9435 9436 9437 9438 9439 9440 |
# File 'lib/v20200217/models.rb', line 9434 def initialize(clusterid=nil, namespaceid=nil, topic=nil, remark=nil, partitionnum=nil) @ClusterId = clusterid @NamespaceId = namespaceid @Topic = topic @Remark = remark @PartitionNum = partitionnum end |
Instance Attribute Details
#ClusterId ⇒ Object
9432 9433 9434 |
# File 'lib/v20200217/models.rb', line 9432 def ClusterId @ClusterId end |
#NamespaceId ⇒ Object
9432 9433 9434 |
# File 'lib/v20200217/models.rb', line 9432 def NamespaceId @NamespaceId end |
#PartitionNum ⇒ Object
9432 9433 9434 |
# File 'lib/v20200217/models.rb', line 9432 def PartitionNum @PartitionNum end |
#Remark ⇒ Object
9432 9433 9434 |
# File 'lib/v20200217/models.rb', line 9432 def Remark @Remark end |
#Topic ⇒ Object
9432 9433 9434 |
# File 'lib/v20200217/models.rb', line 9432 def Topic @Topic end |
Instance Method Details
#deserialize(params) ⇒ Object
9442 9443 9444 9445 9446 9447 9448 |
# File 'lib/v20200217/models.rb', line 9442 def deserialize(params) @ClusterId = params['ClusterId'] @NamespaceId = params['NamespaceId'] @Topic = params['Topic'] @Remark = params['Remark'] @PartitionNum = params['PartitionNum'] end |