Class: TencentCloud::Tdmq::V20200217::DescribeRabbitMQVirtualHostListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRabbitMQVirtualHostListResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRabbitMQVirtualHostList返回参数结构体
Instance Attribute Summary collapse
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#VirtualHostList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, virtualhostlist = nil, requestid = nil) ⇒ DescribeRabbitMQVirtualHostListResponse
constructor
A new instance of DescribeRabbitMQVirtualHostListResponse.
Constructor Details
#initialize(totalcount = nil, virtualhostlist = nil, requestid = nil) ⇒ DescribeRabbitMQVirtualHostListResponse
Returns a new instance of DescribeRabbitMQVirtualHostListResponse.
5672 5673 5674 5675 5676 |
# File 'lib/v20200217/models.rb', line 5672 def initialize(totalcount=nil, virtualhostlist=nil, requestid=nil) @TotalCount = totalcount @VirtualHostList = virtualhostlist @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5670 5671 5672 |
# File 'lib/v20200217/models.rb', line 5670 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5670 5671 5672 |
# File 'lib/v20200217/models.rb', line 5670 def TotalCount @TotalCount end |
#VirtualHostList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5670 5671 5672 |
# File 'lib/v20200217/models.rb', line 5670 def VirtualHostList @VirtualHostList end |
Instance Method Details
#deserialize(params) ⇒ Object
5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 |
# File 'lib/v20200217/models.rb', line 5678 def deserialize(params) @TotalCount = params['TotalCount'] unless params['VirtualHostList'].nil? @VirtualHostList = [] params['VirtualHostList'].each do |i| rabbitmqprivatevirtualhost_tmp = RabbitMQPrivateVirtualHost.new rabbitmqprivatevirtualhost_tmp.deserialize(i) @VirtualHostList << rabbitmqprivatevirtualhost_tmp end end @RequestId = params['RequestId'] end |