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.
28156 28157 28158 28159 28160 28161 28162 |
# File 'lib/v20210820/models.rb', line 28156 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
28154 28155 28156 |
# File 'lib/v20210820/models.rb', line 28154 def Items @Items end |
#PageCount ⇒ Object
28154 28155 28156 |
# File 'lib/v20210820/models.rb', line 28154 def PageCount @PageCount end |
#PageNumber ⇒ Object
28154 28155 28156 |
# File 'lib/v20210820/models.rb', line 28154 def PageNumber @PageNumber end |
#PageSize ⇒ Object
28154 28155 28156 |
# File 'lib/v20210820/models.rb', line 28154 def PageSize @PageSize end |
#TotalCount ⇒ Object
28154 28155 28156 |
# File 'lib/v20210820/models.rb', line 28154 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
28164 28165 28166 28167 28168 28169 28170 28171 28172 28173 28174 28175 28176 28177 |
# File 'lib/v20210820/models.rb', line 28164 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 |