Class: TencentCloud::Tdmq::V20200217::DescribeRabbitMQVirtualHostResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRabbitMQVirtualHostResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRabbitMQVirtualHost返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, virtualhostlist = nil, requestid = nil) ⇒ DescribeRabbitMQVirtualHostResponse
constructor
A new instance of DescribeRabbitMQVirtualHostResponse.
Constructor Details
#initialize(totalcount = nil, virtualhostlist = nil, requestid = nil) ⇒ DescribeRabbitMQVirtualHostResponse
Returns a new instance of DescribeRabbitMQVirtualHostResponse.
5750 5751 5752 5753 5754 |
# File 'lib/v20200217/models.rb', line 5750 def initialize(totalcount=nil, virtualhostlist=nil, requestid=nil) @TotalCount = totalcount @VirtualHostList = virtualhostlist @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
5748 5749 5750 |
# File 'lib/v20200217/models.rb', line 5748 def RequestId @RequestId end |
#TotalCount ⇒ Object
5748 5749 5750 |
# File 'lib/v20200217/models.rb', line 5748 def TotalCount @TotalCount end |
#VirtualHostList ⇒ Object
5748 5749 5750 |
# File 'lib/v20200217/models.rb', line 5748 def VirtualHostList @VirtualHostList end |
Instance Method Details
#deserialize(params) ⇒ Object
5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 |
# File 'lib/v20200217/models.rb', line 5756 def deserialize(params) @TotalCount = params['TotalCount'] unless params['VirtualHostList'].nil? @VirtualHostList = [] params['VirtualHostList'].each do |i| rabbitmqvirtualhostinfo_tmp = RabbitMQVirtualHostInfo.new rabbitmqvirtualhostinfo_tmp.deserialize(i) @VirtualHostList << rabbitmqvirtualhostinfo_tmp end end @RequestId = params['RequestId'] end |