Class: TencentCloud::Wedata::V20250806::ListCatalogPage
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20250806::ListCatalogPage
- Defined in:
- lib/v20250806/models.rb
Overview
ListCatalogPage
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(items = nil, pagecount = nil, pagesize = nil, pagenumber = nil, totalcount = nil) ⇒ ListCatalogPage
constructor
A new instance of ListCatalogPage.
Constructor Details
#initialize(items = nil, pagecount = nil, pagesize = nil, pagenumber = nil, totalcount = nil) ⇒ ListCatalogPage
Returns a new instance of ListCatalogPage.
6305 6306 6307 6308 6309 6310 6311 |
# File 'lib/v20250806/models.rb', line 6305 def initialize(items=nil, pagecount=nil, pagesize=nil, pagenumber=nil, totalcount=nil) @Items = items @PageCount = pagecount @PageSize = pagesize @PageNumber = pagenumber @TotalCount = totalcount end |
Instance Attribute Details
#Items ⇒ Object
6303 6304 6305 |
# File 'lib/v20250806/models.rb', line 6303 def Items @Items end |
#PageCount ⇒ Object
6303 6304 6305 |
# File 'lib/v20250806/models.rb', line 6303 def PageCount @PageCount end |
#PageNumber ⇒ Object
6303 6304 6305 |
# File 'lib/v20250806/models.rb', line 6303 def PageNumber @PageNumber end |
#PageSize ⇒ Object
6303 6304 6305 |
# File 'lib/v20250806/models.rb', line 6303 def PageSize @PageSize end |
#TotalCount ⇒ Object
6303 6304 6305 |
# File 'lib/v20250806/models.rb', line 6303 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 |
# File 'lib/v20250806/models.rb', line 6313 def deserialize(params) unless params['Items'].nil? @Items = [] params['Items'].each do |i| cataloginfo_tmp = CatalogInfo.new cataloginfo_tmp.deserialize(i) @Items << cataloginfo_tmp end end @PageCount = params['PageCount'] @PageSize = params['PageSize'] @PageNumber = params['PageNumber'] @TotalCount = params['TotalCount'] end |