Class: TencentCloud::Wedata::V20210820::PageTaskTemplateInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::PageTaskTemplateInfo
- Defined in:
- lib/v20210820/models.rb
Overview
任务模版分页
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(items = nil, pagecount = nil, totalcount = nil, pagenumber = nil, pagesize = nil) ⇒ PageTaskTemplateInfo
constructor
A new instance of PageTaskTemplateInfo.
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
#Items ⇒ Object
28321 28322 28323 |
# File 'lib/v20210820/models.rb', line 28321 def Items @Items end |
#PageCount ⇒ Object
28321 28322 28323 |
# File 'lib/v20210820/models.rb', line 28321 def PageCount @PageCount end |
#PageNumber ⇒ Object
28321 28322 28323 |
# File 'lib/v20210820/models.rb', line 28321 def PageNumber @PageNumber end |
#PageSize ⇒ Object
28321 28322 28323 |
# File 'lib/v20210820/models.rb', line 28321 def PageSize @PageSize end |
#TotalCount ⇒ Object
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 |