Class: TencentCloud::Ckafka::V20190819::DescribeDatahubTasksRes

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

Overview

查询Datahub任务列表

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, tasklist = nil) ⇒ DescribeDatahubTasksRes

Returns a new instance of DescribeDatahubTasksRes.



4858
4859
4860
4861
# File 'lib/v20190819/models.rb', line 4858

def initialize(totalcount=nil, tasklist=nil)
  @TotalCount = totalcount
  @TaskList = tasklist
end

Instance Attribute Details

#TaskListObject

Parameters:

  • TotalCount:

    任务总数

  • TaskList:

    Datahub任务信息列表



4856
4857
4858
# File 'lib/v20190819/models.rb', line 4856

def TaskList
  @TaskList
end

#TotalCountObject

Parameters:

  • TotalCount:

    任务总数

  • TaskList:

    Datahub任务信息列表



4856
4857
4858
# File 'lib/v20190819/models.rb', line 4856

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
# File 'lib/v20190819/models.rb', line 4863

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['TaskList'].nil?
    @TaskList = []
    params['TaskList'].each do |i|
      datahubtaskinfo_tmp = DatahubTaskInfo.new
      datahubtaskinfo_tmp.deserialize(i)
      @TaskList << datahubtaskinfo_tmp
    end
  end
end