Class: TencentCloud::Trabbit::V20230418::DescribeRabbitMQServerlessConnectionResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Trabbit::V20230418::DescribeRabbitMQServerlessConnectionResponse
- Defined in:
- lib/v20230418/models.rb
Overview
DescribeRabbitMQServerlessConnection返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, connections = nil, requestid = nil) ⇒ DescribeRabbitMQServerlessConnectionResponse
constructor
A new instance of DescribeRabbitMQServerlessConnectionResponse.
Constructor Details
#initialize(totalcount = nil, connections = nil, requestid = nil) ⇒ DescribeRabbitMQServerlessConnectionResponse
Returns a new instance of DescribeRabbitMQServerlessConnectionResponse.
778 779 780 781 782 |
# File 'lib/v20230418/models.rb', line 778 def initialize(totalcount=nil, connections=nil, requestid=nil) @TotalCount = totalcount @Connections = connections @RequestId = requestid end |
Instance Attribute Details
#Connections ⇒ Object
776 777 778 |
# File 'lib/v20230418/models.rb', line 776 def Connections @Connections end |
#RequestId ⇒ Object
776 777 778 |
# File 'lib/v20230418/models.rb', line 776 def RequestId @RequestId end |
#TotalCount ⇒ Object
776 777 778 |
# File 'lib/v20230418/models.rb', line 776 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
784 785 786 787 788 789 790 791 792 793 794 795 |
# File 'lib/v20230418/models.rb', line 784 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Connections'].nil? @Connections = [] params['Connections'].each do |i| rabbitmqconnection_tmp = RabbitMQConnection.new rabbitmqconnection_tmp.deserialize(i) @Connections << rabbitmqconnection_tmp end end @RequestId = params['RequestId'] end |