Class: TencentCloud::Iotexplorer::V20190423::DescribeCloudStorageAIServiceTasksResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::DescribeCloudStorageAIServiceTasksResponse
- Defined in:
- lib/v20190423/models.rb
Overview
DescribeCloudStorageAIServiceTasks返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(tasks = nil, total = nil, requestid = nil) ⇒ DescribeCloudStorageAIServiceTasksResponse
constructor
A new instance of DescribeCloudStorageAIServiceTasksResponse.
Constructor Details
#initialize(tasks = nil, total = nil, requestid = nil) ⇒ DescribeCloudStorageAIServiceTasksResponse
Returns a new instance of DescribeCloudStorageAIServiceTasksResponse.
4224 4225 4226 4227 4228 |
# File 'lib/v20190423/models.rb', line 4224 def initialize(tasks=nil, total=nil, requestid=nil) @Tasks = tasks @Total = total @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
4222 4223 4224 |
# File 'lib/v20190423/models.rb', line 4222 def RequestId @RequestId end |
#Tasks ⇒ Object
4222 4223 4224 |
# File 'lib/v20190423/models.rb', line 4222 def Tasks @Tasks end |
#Total ⇒ Object
4222 4223 4224 |
# File 'lib/v20190423/models.rb', line 4222 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 |
# File 'lib/v20190423/models.rb', line 4230 def deserialize(params) unless params['Tasks'].nil? @Tasks = [] params['Tasks'].each do |i| cloudstorageaiservicetask_tmp = CloudStorageAIServiceTask.new cloudstorageaiservicetask_tmp.deserialize(i) @Tasks << cloudstorageaiservicetask_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end |