Class: TencentCloud::Thpc::V20220401::DescribeQueuesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20220401::DescribeQueuesResponse
- Defined in:
- lib/v20220401/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.
1202 1203 1204 1205 1206 |
# File 'lib/v20220401/models.rb', line 1202 def initialize(queueset=nil, totalcount=nil, requestid=nil) @QueueSet = queueset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#QueueSet ⇒ Object
1200 1201 1202 |
# File 'lib/v20220401/models.rb', line 1200 def QueueSet @QueueSet end |
#RequestId ⇒ Object
1200 1201 1202 |
# File 'lib/v20220401/models.rb', line 1200 def RequestId @RequestId end |
#TotalCount ⇒ Object
1200 1201 1202 |
# File 'lib/v20220401/models.rb', line 1200 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 |
# File 'lib/v20220401/models.rb', line 1208 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 |