Class: TencentCloud::Tdmq::V20200217::DescribeRabbitMQUserResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRabbitMQUserResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRabbitMQUser返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, rabbitmquserlist = nil, requestid = nil) ⇒ DescribeRabbitMQUserResponse
constructor
A new instance of DescribeRabbitMQUserResponse.
Constructor Details
#initialize(totalcount = nil, rabbitmquserlist = nil, requestid = nil) ⇒ DescribeRabbitMQUserResponse
Returns a new instance of DescribeRabbitMQUserResponse.
5471 5472 5473 5474 5475 |
# File 'lib/v20200217/models.rb', line 5471 def initialize(totalcount=nil, rabbitmquserlist=nil, requestid=nil) @TotalCount = totalcount @RabbitMQUserList = rabbitmquserlist @RequestId = requestid end |
Instance Attribute Details
#RabbitMQUserList ⇒ Object
5469 5470 5471 |
# File 'lib/v20200217/models.rb', line 5469 def RabbitMQUserList @RabbitMQUserList end |
#RequestId ⇒ Object
5469 5470 5471 |
# File 'lib/v20200217/models.rb', line 5469 def RequestId @RequestId end |
#TotalCount ⇒ Object
5469 5470 5471 |
# File 'lib/v20200217/models.rb', line 5469 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 |
# File 'lib/v20200217/models.rb', line 5477 def deserialize(params) @TotalCount = params['TotalCount'] unless params['RabbitMQUserList'].nil? @RabbitMQUserList = [] params['RabbitMQUserList'].each do |i| rabbitmquser_tmp = RabbitMQUser.new rabbitmquser_tmp.deserialize(i) @RabbitMQUserList << rabbitmquser_tmp end end @RequestId = params['RequestId'] end |