Class: TencentCloud::Wedata::V20210820::OpsTaskInfoPage
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::OpsTaskInfoPage
- Defined in:
- lib/v20210820/models.rb
Overview
任务分页查询
Instance Attribute Summary collapse
- #Items ⇒ Object
- #PageCount ⇒ Object
- #PageNumber ⇒ Object
- #PageSize ⇒ Object
- #TotalCount ⇒ Object
- #TotalPage ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(pagenumber = nil, pagesize = nil, items = nil, totalpage = nil, pagecount = nil, totalcount = nil) ⇒ OpsTaskInfoPage
constructor
A new instance of OpsTaskInfoPage.
Constructor Details
#initialize(pagenumber = nil, pagesize = nil, items = nil, totalpage = nil, pagecount = nil, totalcount = nil) ⇒ OpsTaskInfoPage
Returns a new instance of OpsTaskInfoPage.
19036 19037 19038 19039 19040 19041 19042 19043 |
# File 'lib/v20210820/models.rb', line 19036 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
#Items ⇒ Object
19034 19035 19036 |
# File 'lib/v20210820/models.rb', line 19034 def Items @Items end |
#PageCount ⇒ Object
19034 19035 19036 |
# File 'lib/v20210820/models.rb', line 19034 def PageCount @PageCount end |
#PageNumber ⇒ Object
19034 19035 19036 |
# File 'lib/v20210820/models.rb', line 19034 def PageNumber @PageNumber end |
#PageSize ⇒ Object
19034 19035 19036 |
# File 'lib/v20210820/models.rb', line 19034 def PageSize @PageSize end |
#TotalCount ⇒ Object
19034 19035 19036 |
# File 'lib/v20210820/models.rb', line 19034 def TotalCount @TotalCount end |
#TotalPage ⇒ Object
19034 19035 19036 |
# File 'lib/v20210820/models.rb', line 19034 def TotalPage @TotalPage end |
Instance Method Details
#deserialize(params) ⇒ Object
19045 19046 19047 19048 19049 19050 19051 19052 19053 19054 19055 19056 19057 19058 19059 |
# File 'lib/v20210820/models.rb', line 19045 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 |