Class: TencentCloud::Iotcloud::V20180614::DescribeProductTasksResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180614/models.rb

Overview

DescribeProductTasks返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, taskinfos = nil, requestid = nil) ⇒ DescribeProductTasksResponse

Returns a new instance of DescribeProductTasksResponse.



2301
2302
2303
2304
2305
# File 'lib/v20180614/models.rb', line 2301

def initialize(totalcount=nil, taskinfos=nil, requestid=nil)
  @TotalCount = totalcount
  @TaskInfos = taskinfos
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TotalCount:

    符合条件的任务总个数

  • TaskInfos:

    任务详细信息列表

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



2299
2300
2301
# File 'lib/v20180614/models.rb', line 2299

def RequestId
  @RequestId
end

#TaskInfosObject

Parameters:

  • TotalCount:

    符合条件的任务总个数

  • TaskInfos:

    任务详细信息列表

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



2299
2300
2301
# File 'lib/v20180614/models.rb', line 2299

def TaskInfos
  @TaskInfos
end

#TotalCountObject

Parameters:

  • TotalCount:

    符合条件的任务总个数

  • TaskInfos:

    任务详细信息列表

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



2299
2300
2301
# File 'lib/v20180614/models.rb', line 2299

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
# File 'lib/v20180614/models.rb', line 2307

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['TaskInfos'].nil?
    @TaskInfos = []
    params['TaskInfos'].each do |i|
      producttaskinfo_tmp = ProductTaskInfo.new
      producttaskinfo_tmp.deserialize(i)
      @TaskInfos << producttaskinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end