Class: TencentCloud::Wedata::V20210820::PageTaskTemplateInfo

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

Overview

任务模版分页

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of PageTaskTemplateInfo.



28323
28324
28325
28326
28327
28328
28329
# File 'lib/v20210820/models.rb', line 28323

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

Instance Attribute Details

#ItemsObject

Parameters:

  • Items:

    任务集合信息

  • PageCount:

    总页数

  • TotalCount:

    总数量

  • PageNumber:

    当前页

  • PageSize:

    每页显示数



28321
28322
28323
# File 'lib/v20210820/models.rb', line 28321

def Items
  @Items
end

#PageCountObject

Parameters:

  • Items:

    任务集合信息

  • PageCount:

    总页数

  • TotalCount:

    总数量

  • PageNumber:

    当前页

  • PageSize:

    每页显示数



28321
28322
28323
# File 'lib/v20210820/models.rb', line 28321

def PageCount
  @PageCount
end

#PageNumberObject

Parameters:

  • Items:

    任务集合信息

  • PageCount:

    总页数

  • TotalCount:

    总数量

  • PageNumber:

    当前页

  • PageSize:

    每页显示数



28321
28322
28323
# File 'lib/v20210820/models.rb', line 28321

def PageNumber
  @PageNumber
end

#PageSizeObject

Parameters:

  • Items:

    任务集合信息

  • PageCount:

    总页数

  • TotalCount:

    总数量

  • PageNumber:

    当前页

  • PageSize:

    每页显示数



28321
28322
28323
# File 'lib/v20210820/models.rb', line 28321

def PageSize
  @PageSize
end

#TotalCountObject

Parameters:

  • Items:

    任务集合信息

  • PageCount:

    总页数

  • TotalCount:

    总数量

  • PageNumber:

    当前页

  • PageSize:

    每页显示数



28321
28322
28323
# File 'lib/v20210820/models.rb', line 28321

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



28331
28332
28333
28334
28335
28336
28337
28338
28339
28340
28341
28342
28343
28344
# File 'lib/v20210820/models.rb', line 28331

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