Class: TencentCloud::Teo::V20220901::DescribePrefetchTasksResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::DescribePrefetchTasksResponse
- Defined in:
- lib/v20220901/models.rb
Overview
DescribePrefetchTasks返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, tasks = nil, requestid = nil) ⇒ DescribePrefetchTasksResponse
constructor
A new instance of DescribePrefetchTasksResponse.
Constructor Details
#initialize(totalcount = nil, tasks = nil, requestid = nil) ⇒ DescribePrefetchTasksResponse
Returns a new instance of DescribePrefetchTasksResponse.
10098 10099 10100 10101 10102 |
# File 'lib/v20220901/models.rb', line 10098 def initialize(totalcount=nil, tasks=nil, requestid=nil) @TotalCount = totalcount @Tasks = tasks @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
10096 10097 10098 |
# File 'lib/v20220901/models.rb', line 10096 def RequestId @RequestId end |
#Tasks ⇒ Object
10096 10097 10098 |
# File 'lib/v20220901/models.rb', line 10096 def Tasks @Tasks end |
#TotalCount ⇒ Object
10096 10097 10098 |
# File 'lib/v20220901/models.rb', line 10096 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 |
# File 'lib/v20220901/models.rb', line 10104 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Tasks'].nil? @Tasks = [] params['Tasks'].each do |i| task_tmp = Task.new task_tmp.deserialize(i) @Tasks << task_tmp end end @RequestId = params['RequestId'] end |