Class: TencentCloud::Tdmq::V20200217::CreateRocketMQTopicRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::CreateRocketMQTopicRequest
- Defined in:
- lib/v20200217/models.rb
Overview
CreateRocketMQTopic请求参数结构体
Instance Attribute Summary collapse
- #ClusterId ⇒ Object
- #Namespaces ⇒ Object
- #PartitionNum ⇒ Object
- #Remark ⇒ Object
- #Topic ⇒ Object
- #Type ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topic = nil, namespaces = nil, type = nil, clusterid = nil, remark = nil, partitionnum = nil) ⇒ CreateRocketMQTopicRequest
constructor
A new instance of CreateRocketMQTopicRequest.
Constructor Details
#initialize(topic = nil, namespaces = nil, type = nil, clusterid = nil, remark = nil, partitionnum = nil) ⇒ CreateRocketMQTopicRequest
Returns a new instance of CreateRocketMQTopicRequest.
2174 2175 2176 2177 2178 2179 2180 2181 |
# File 'lib/v20200217/models.rb', line 2174 def initialize(topic=nil, namespaces=nil, type=nil, clusterid=nil, remark=nil, partitionnum=nil) @Topic = topic @Namespaces = namespaces @Type = type @ClusterId = clusterid @Remark = remark @PartitionNum = partitionnum end |
Instance Attribute Details
#ClusterId ⇒ Object
2172 2173 2174 |
# File 'lib/v20200217/models.rb', line 2172 def ClusterId @ClusterId end |
#Namespaces ⇒ Object
2172 2173 2174 |
# File 'lib/v20200217/models.rb', line 2172 def Namespaces @Namespaces end |
#PartitionNum ⇒ Object
2172 2173 2174 |
# File 'lib/v20200217/models.rb', line 2172 def PartitionNum @PartitionNum end |
#Remark ⇒ Object
2172 2173 2174 |
# File 'lib/v20200217/models.rb', line 2172 def Remark @Remark end |
#Topic ⇒ Object
2172 2173 2174 |
# File 'lib/v20200217/models.rb', line 2172 def Topic @Topic end |
#Type ⇒ Object
2172 2173 2174 |
# File 'lib/v20200217/models.rb', line 2172 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
2183 2184 2185 2186 2187 2188 2189 2190 |
# File 'lib/v20200217/models.rb', line 2183 def deserialize(params) @Topic = params['Topic'] @Namespaces = params['Namespaces'] @Type = params['Type'] @ClusterId = params['ClusterId'] @Remark = params['Remark'] @PartitionNum = params['PartitionNum'] end |