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.
29597 29598 29599 29600 29601 29602 29603 |
# File 'lib/v20210820/models.rb', line 29597 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
29595 29596 29597 |
# File 'lib/v20210820/models.rb', line 29595 def Items @Items end |
#PageCount ⇒ Object
29595 29596 29597 |
# File 'lib/v20210820/models.rb', line 29595 def PageCount @PageCount end |
#PageNumber ⇒ Object
29595 29596 29597 |
# File 'lib/v20210820/models.rb', line 29595 def PageNumber @PageNumber end |
#PageSize ⇒ Object
29595 29596 29597 |
# File 'lib/v20210820/models.rb', line 29595 def PageSize @PageSize end |
#TotalCount ⇒ Object
29595 29596 29597 |
# File 'lib/v20210820/models.rb', line 29595 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
29605 29606 29607 29608 29609 29610 29611 29612 29613 29614 29615 29616 29617 29618 |
# File 'lib/v20210820/models.rb', line 29605 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 |