Class: TencentCloud::Wedata::V20250806::ListTaskInfo

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

Overview

查询任务信息分页

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(items = nil, pagenumber = nil, pagesize = nil, totalcount = nil, totalpagenumber = nil) ⇒ ListTaskInfo

Returns a new instance of ListTaskInfo.



4860
4861
4862
4863
4864
4865
4866
# File 'lib/v20250806/models.rb', line 4860

def initialize(items=nil, pagenumber=nil, pagesize=nil, totalcount=nil, totalpagenumber=nil)
  @Items = items
  @PageNumber = pagenumber
  @PageSize = pagesize
  @TotalCount = totalcount
  @TotalPageNumber = totalpagenumber
end

Instance Attribute Details

#ItemsObject

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

Parameters:

  • Items:

    任务数组

  • PageNumber:

    当前请求的数据页数

  • PageSize:

    当前请求的数据页条数

  • TotalCount:

    满足查询条件的数据总条数

  • TotalPageNumber:

    满足查询条件的数据总页数



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

def Items
  @Items
end

#PageNumberObject

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

Parameters:

  • Items:

    任务数组

  • PageNumber:

    当前请求的数据页数

  • PageSize:

    当前请求的数据页条数

  • TotalCount:

    满足查询条件的数据总条数

  • TotalPageNumber:

    满足查询条件的数据总页数



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

def PageNumber
  @PageNumber
end

#PageSizeObject

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

Parameters:

  • Items:

    任务数组

  • PageNumber:

    当前请求的数据页数

  • PageSize:

    当前请求的数据页条数

  • TotalCount:

    满足查询条件的数据总条数

  • TotalPageNumber:

    满足查询条件的数据总页数



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

def PageSize
  @PageSize
end

#TotalCountObject

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

Parameters:

  • Items:

    任务数组

  • PageNumber:

    当前请求的数据页数

  • PageSize:

    当前请求的数据页条数

  • TotalCount:

    满足查询条件的数据总条数

  • TotalPageNumber:

    满足查询条件的数据总页数



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

def TotalCount
  @TotalCount
end

#TotalPageNumberObject

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

Parameters:

  • Items:

    任务数组

  • PageNumber:

    当前请求的数据页数

  • PageSize:

    当前请求的数据页条数

  • TotalCount:

    满足查询条件的数据总条数

  • TotalPageNumber:

    满足查询条件的数据总页数



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

def TotalPageNumber
  @TotalPageNumber
end

Instance Method Details

#deserialize(params) ⇒ Object



4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
# File 'lib/v20250806/models.rb', line 4868

def deserialize(params)
  unless params['Items'].nil?
    @Items = []
    params['Items'].each do |i|
      taskbaseattribute_tmp = TaskBaseAttribute.new
      taskbaseattribute_tmp.deserialize(i)
      @Items << taskbaseattribute_tmp
    end
  end
  @PageNumber = params['PageNumber']
  @PageSize = params['PageSize']
  @TotalCount = params['TotalCount']
  @TotalPageNumber = params['TotalPageNumber']
end