Class: TencentCloud::Trabbit::V20230418::ListRabbitMQServerlessInstancesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Trabbit::V20230418::ListRabbitMQServerlessInstancesResponse
- Defined in:
- lib/v20230418/models.rb
Overview
ListRabbitMQServerlessInstances返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instances = nil, totalcount = nil, requestid = nil) ⇒ ListRabbitMQServerlessInstancesResponse
constructor
A new instance of ListRabbitMQServerlessInstancesResponse.
Constructor Details
#initialize(instances = nil, totalcount = nil, requestid = nil) ⇒ ListRabbitMQServerlessInstancesResponse
Returns a new instance of ListRabbitMQServerlessInstancesResponse.
1653 1654 1655 1656 1657 |
# File 'lib/v20230418/models.rb', line 1653 def initialize(instances=nil, totalcount=nil, requestid=nil) @Instances = instances @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Instances ⇒ Object
1651 1652 1653 |
# File 'lib/v20230418/models.rb', line 1651 def Instances @Instances end |
#RequestId ⇒ Object
1651 1652 1653 |
# File 'lib/v20230418/models.rb', line 1651 def RequestId @RequestId end |
#TotalCount ⇒ Object
1651 1652 1653 |
# File 'lib/v20230418/models.rb', line 1651 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 |
# File 'lib/v20230418/models.rb', line 1659 def deserialize(params) unless params['Instances'].nil? @Instances = [] params['Instances'].each do |i| rabbitmqserverlessinstance_tmp = RabbitMQServerlessInstance.new rabbitmqserverlessinstance_tmp.deserialize(i) @Instances << rabbitmqserverlessinstance_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |