Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQNamespacesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRocketMQNamespacesResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRocketMQNamespaces返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(namespaces = nil, totalcount = nil, requestid = nil) ⇒ DescribeRocketMQNamespacesResponse
constructor
A new instance of DescribeRocketMQNamespacesResponse.
Constructor Details
#initialize(namespaces = nil, totalcount = nil, requestid = nil) ⇒ DescribeRocketMQNamespacesResponse
Returns a new instance of DescribeRocketMQNamespacesResponse.
6552 6553 6554 6555 6556 |
# File 'lib/v20200217/models.rb', line 6552 def initialize(namespaces=nil, totalcount=nil, requestid=nil) @Namespaces = namespaces @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Namespaces ⇒ Object
6550 6551 6552 |
# File 'lib/v20200217/models.rb', line 6550 def Namespaces @Namespaces end |
#RequestId ⇒ Object
6550 6551 6552 |
# File 'lib/v20200217/models.rb', line 6550 def RequestId @RequestId end |
#TotalCount ⇒ Object
6550 6551 6552 |
# File 'lib/v20200217/models.rb', line 6550 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 |
# File 'lib/v20200217/models.rb', line 6558 def deserialize(params) unless params['Namespaces'].nil? @Namespaces = [] params['Namespaces'].each do |i| rocketmqnamespace_tmp = RocketMQNamespace.new rocketmqnamespace_tmp.deserialize(i) @Namespaces << rocketmqnamespace_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |