Class: TencentCloud::Wedata::V20210820::DescribeTasksForCodeTemplatePage

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

Overview

批量操作任务列表分页

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pagecount = nil, items = nil, totalcount = nil) ⇒ DescribeTasksForCodeTemplatePage

Returns a new instance of DescribeTasksForCodeTemplatePage.



17774
17775
17776
17777
17778
# File 'lib/v20210820/models.rb', line 17774

def initialize(pagecount=nil, items=nil, totalcount=nil)
  @PageCount = pagecount
  @Items = items
  @TotalCount = totalcount
end

Instance Attribute Details

#ItemsObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • PageCount:

    总页码数

  • Items:

    内容

  • TotalCount:

    总个数



17772
17773
17774
# File 'lib/v20210820/models.rb', line 17772

def Items
  @Items
end

#PageCountObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • PageCount:

    总页码数

  • Items:

    内容

  • TotalCount:

    总个数



17772
17773
17774
# File 'lib/v20210820/models.rb', line 17772

def PageCount
  @PageCount
end

#TotalCountObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • PageCount:

    总页码数

  • Items:

    内容

  • TotalCount:

    总个数



17772
17773
17774
# File 'lib/v20210820/models.rb', line 17772

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
# File 'lib/v20210820/models.rb', line 17780

def deserialize(params)
  @PageCount = params['PageCount']
  unless params['Items'].nil?
    @Items = []
    params['Items'].each do |i|
      tasksimplevo_tmp = TaskSimpleVo.new
      tasksimplevo_tmp.deserialize(i)
      @Items << tasksimplevo_tmp
    end
  end
  @TotalCount = params['TotalCount']
end