Class: TencentCloud::Thpc::V20230321::DescribeQueuesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20230321::DescribeQueuesResponse
- Defined in:
- lib/v20230321/models.rb
Overview
DescribeQueues返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(queueset = nil, totalcount = nil, requestid = nil) ⇒ DescribeQueuesResponse
constructor
A new instance of DescribeQueuesResponse.
Constructor Details
#initialize(queueset = nil, totalcount = nil, requestid = nil) ⇒ DescribeQueuesResponse
Returns a new instance of DescribeQueuesResponse.
1455 1456 1457 1458 1459 |
# File 'lib/v20230321/models.rb', line 1455 def initialize(queueset=nil, totalcount=nil, requestid=nil) @QueueSet = queueset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#QueueSet ⇒ Object
1453 1454 1455 |
# File 'lib/v20230321/models.rb', line 1453 def QueueSet @QueueSet end |
#RequestId ⇒ Object
1453 1454 1455 |
# File 'lib/v20230321/models.rb', line 1453 def RequestId @RequestId end |
#TotalCount ⇒ Object
1453 1454 1455 |
# File 'lib/v20230321/models.rb', line 1453 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 |
# File 'lib/v20230321/models.rb', line 1461 def deserialize(params) unless params['QueueSet'].nil? @QueueSet = [] params['QueueSet'].each do |i| queueoverview_tmp = QueueOverview.new queueoverview_tmp.deserialize(i) @QueueSet << queueoverview_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |