Class: TencentCloud::Teo::V20220106::DescribePrefetchTasksResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220106::DescribePrefetchTasksResponse
- Defined in:
- lib/v20220106/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.
222 223 224 225 226 |
# File 'lib/v20220106/models.rb', line 222 def initialize(totalcount=nil, tasks=nil, requestid=nil) @TotalCount = totalcount @Tasks = tasks @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
220 221 222 |
# File 'lib/v20220106/models.rb', line 220 def RequestId @RequestId end |
#Tasks ⇒ Object
220 221 222 |
# File 'lib/v20220106/models.rb', line 220 def Tasks @Tasks end |
#TotalCount ⇒ Object
220 221 222 |
# File 'lib/v20220106/models.rb', line 220 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
228 229 230 231 232 233 234 235 236 237 238 239 |
# File 'lib/v20220106/models.rb', line 228 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 |