Class: TencentCloud::Dlc::V20210125::DescribeTasksResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dlc::V20210125::DescribeTasksResponse
- Defined in:
- lib/v20210125/models.rb
Overview
DescribeTasks返回参数结构体
Instance Attribute Summary collapse
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TaskList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TasksOverview ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(tasklist = nil, totalcount = nil, tasksoverview = nil, requestid = nil) ⇒ DescribeTasksResponse
constructor
A new instance of DescribeTasksResponse.
Constructor Details
#initialize(tasklist = nil, totalcount = nil, tasksoverview = nil, requestid = nil) ⇒ DescribeTasksResponse
9745 9746 9747 9748 9749 9750 |
# File 'lib/v20210125/models.rb', line 9745 def initialize(tasklist=nil, totalcount=nil, tasksoverview=nil, requestid=nil) @TaskList = tasklist @TotalCount = totalcount @TasksOverview = tasksoverview @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9743 9744 9745 |
# File 'lib/v20210125/models.rb', line 9743 def RequestId @RequestId end |
#TaskList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9743 9744 9745 |
# File 'lib/v20210125/models.rb', line 9743 def TaskList @TaskList end |
#TasksOverview ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9743 9744 9745 |
# File 'lib/v20210125/models.rb', line 9743 def TasksOverview @TasksOverview end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
9743 9744 9745 |
# File 'lib/v20210125/models.rb', line 9743 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 |
# File 'lib/v20210125/models.rb', line 9752 def deserialize(params) unless params['TaskList'].nil? @TaskList = [] params['TaskList'].each do |i| taskresponseinfo_tmp = TaskResponseInfo.new taskresponseinfo_tmp.deserialize(i) @TaskList << taskresponseinfo_tmp end end @TotalCount = params['TotalCount'] unless params['TasksOverview'].nil? @TasksOverview = TasksOverview.new @TasksOverview.deserialize(params['TasksOverview']) end @RequestId = params['RequestId'] end |