Class: TencentCloud::Ivld::V20210903::DescribeTasksResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ivld::V20210903::DescribeTasksResponse
- Defined in:
- lib/v20210903/models.rb
Overview
DescribeTasks返回参数结构体
Instance Attribute Summary collapse
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TaskInfoSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, taskinfoset = nil, requestid = nil) ⇒ DescribeTasksResponse
constructor
A new instance of DescribeTasksResponse.
Constructor Details
#initialize(totalcount = nil, taskinfoset = nil, requestid = nil) ⇒ DescribeTasksResponse
1383 1384 1385 1386 1387 |
# File 'lib/v20210903/models.rb', line 1383 def initialize(totalcount=nil, taskinfoset=nil, requestid=nil) @TotalCount = totalcount @TaskInfoSet = taskinfoset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1381 1382 1383 |
# File 'lib/v20210903/models.rb', line 1381 def RequestId @RequestId end |
#TaskInfoSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1381 1382 1383 |
# File 'lib/v20210903/models.rb', line 1381 def TaskInfoSet @TaskInfoSet end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1381 1382 1383 |
# File 'lib/v20210903/models.rb', line 1381 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 |
# File 'lib/v20210903/models.rb', line 1389 def deserialize(params) @TotalCount = params['TotalCount'] unless params['TaskInfoSet'].nil? @TaskInfoSet = [] params['TaskInfoSet'].each do |i| taskinfo_tmp = TaskInfo.new taskinfo_tmp.deserialize(i) @TaskInfoSet << taskinfo_tmp end end @RequestId = params['RequestId'] end |