Class: TencentCloud::Wedata::V20210820::OpsTaskInfoPage

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

Overview

任务分页查询

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pagenumber = nil, pagesize = nil, items = nil, totalpage = nil, pagecount = nil, totalcount = nil) ⇒ OpsTaskInfoPage

Returns a new instance of OpsTaskInfoPage.



18853
18854
18855
18856
18857
18858
18859
18860
# File 'lib/v20210820/models.rb', line 18853

def initialize(pagenumber=nil, pagesize=nil, items=nil, totalpage=nil, pagecount=nil, totalcount=nil)
  @PageNumber = pagenumber
  @PageSize = pagesize
  @Items = items
  @TotalPage = totalpage
  @PageCount = pagecount
  @TotalCount = totalcount
end

Instance Attribute Details

#ItemsObject

Parameters:

  • PageNumber:

    页号

  • PageSize:

    页大小

  • Items:

    任务列表信息

  • TotalPage:

    总页数

  • PageCount:

    页数

  • TotalCount:

    总条数



18851
18852
18853
# File 'lib/v20210820/models.rb', line 18851

def Items
  @Items
end

#PageCountObject

Parameters:

  • PageNumber:

    页号

  • PageSize:

    页大小

  • Items:

    任务列表信息

  • TotalPage:

    总页数

  • PageCount:

    页数

  • TotalCount:

    总条数



18851
18852
18853
# File 'lib/v20210820/models.rb', line 18851

def PageCount
  @PageCount
end

#PageNumberObject

Parameters:

  • PageNumber:

    页号

  • PageSize:

    页大小

  • Items:

    任务列表信息

  • TotalPage:

    总页数

  • PageCount:

    页数

  • TotalCount:

    总条数



18851
18852
18853
# File 'lib/v20210820/models.rb', line 18851

def PageNumber
  @PageNumber
end

#PageSizeObject

Parameters:

  • PageNumber:

    页号

  • PageSize:

    页大小

  • Items:

    任务列表信息

  • TotalPage:

    总页数

  • PageCount:

    页数

  • TotalCount:

    总条数



18851
18852
18853
# File 'lib/v20210820/models.rb', line 18851

def PageSize
  @PageSize
end

#TotalCountObject

Parameters:

  • PageNumber:

    页号

  • PageSize:

    页大小

  • Items:

    任务列表信息

  • TotalPage:

    总页数

  • PageCount:

    页数

  • TotalCount:

    总条数



18851
18852
18853
# File 'lib/v20210820/models.rb', line 18851

def TotalCount
  @TotalCount
end

#TotalPageObject

Parameters:

  • PageNumber:

    页号

  • PageSize:

    页大小

  • Items:

    任务列表信息

  • TotalPage:

    总页数

  • PageCount:

    页数

  • TotalCount:

    总条数



18851
18852
18853
# File 'lib/v20210820/models.rb', line 18851

def TotalPage
  @TotalPage
end

Instance Method Details

#deserialize(params) ⇒ Object



18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
# File 'lib/v20210820/models.rb', line 18862

def deserialize(params)
  @PageNumber = params['PageNumber']
  @PageSize = params['PageSize']
  unless params['Items'].nil?
    @Items = []
    params['Items'].each do |i|
      taskopsdto_tmp = TaskOpsDto.new
      taskopsdto_tmp.deserialize(i)
      @Items << taskopsdto_tmp
    end
  end
  @TotalPage = params['TotalPage']
  @PageCount = params['PageCount']
  @TotalCount = params['TotalCount']
end