Class: TencentCloud::Tdmq::V20200217::DescribeRabbitMQUserResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200217/models.rb

Overview

DescribeRabbitMQUser返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#RabbitMQUserListObject

Parameters:

  • TotalCount:

    返回的User数量

  • RabbitMQUserList:

    当前已创建的RabbitMQ用户列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5469
5470
5471
# File 'lib/v20200217/models.rb', line 5469

def RabbitMQUserList
  @RabbitMQUserList
end

#RequestIdObject

Parameters:

  • TotalCount:

    返回的User数量

  • RabbitMQUserList:

    当前已创建的RabbitMQ用户列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5469
5470
5471
# File 'lib/v20200217/models.rb', line 5469

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    返回的User数量

  • RabbitMQUserList:

    当前已创建的RabbitMQ用户列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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