Class: TencentCloud::Tdmq::V20200217::DescribeRabbitMQVipInstancesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRabbitMQVipInstancesResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRabbitMQVipInstances返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, instances = nil, requestid = nil) ⇒ DescribeRabbitMQVipInstancesResponse
constructor
A new instance of DescribeRabbitMQVipInstancesResponse.
Constructor Details
#initialize(totalcount = nil, instances = nil, requestid = nil) ⇒ DescribeRabbitMQVipInstancesResponse
Returns a new instance of DescribeRabbitMQVipInstancesResponse.
5616 5617 5618 5619 5620 |
# File 'lib/v20200217/models.rb', line 5616 def initialize(totalcount=nil, instances=nil, requestid=nil) @TotalCount = totalcount @Instances = instances @RequestId = requestid end |
Instance Attribute Details
#Instances ⇒ Object
5614 5615 5616 |
# File 'lib/v20200217/models.rb', line 5614 def Instances @Instances end |
#RequestId ⇒ Object
5614 5615 5616 |
# File 'lib/v20200217/models.rb', line 5614 def RequestId @RequestId end |
#TotalCount ⇒ Object
5614 5615 5616 |
# File 'lib/v20200217/models.rb', line 5614 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 |
# File 'lib/v20200217/models.rb', line 5622 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Instances'].nil? @Instances = [] params['Instances'].each do |i| rabbitmqvipinstance_tmp = RabbitMQVipInstance.new rabbitmqvipinstance_tmp.deserialize(i) @Instances << rabbitmqvipinstance_tmp end end @RequestId = params['RequestId'] end |