Class: TencentCloud::Wedata::V20250806::ListCatalogPage

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20250806/models.rb

Overview

ListCatalogPage

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ItemsObject

Parameters:

  • Items:

    目录记录列表

  • PageCount:

    分页总页数

  • PageSize:

    分页大小

  • PageNumber:

    分页页码

  • TotalCount:

    记录总数



6303
6304
6305
# File 'lib/v20250806/models.rb', line 6303

def Items
  @Items
end

#PageCountObject

Parameters:

  • Items:

    目录记录列表

  • PageCount:

    分页总页数

  • PageSize:

    分页大小

  • PageNumber:

    分页页码

  • TotalCount:

    记录总数



6303
6304
6305
# File 'lib/v20250806/models.rb', line 6303

def PageCount
  @PageCount
end

#PageNumberObject

Parameters:

  • Items:

    目录记录列表

  • PageCount:

    分页总页数

  • PageSize:

    分页大小

  • PageNumber:

    分页页码

  • TotalCount:

    记录总数



6303
6304
6305
# File 'lib/v20250806/models.rb', line 6303

def PageNumber
  @PageNumber
end

#PageSizeObject

Parameters:

  • Items:

    目录记录列表

  • PageCount:

    分页总页数

  • PageSize:

    分页大小

  • PageNumber:

    分页页码

  • TotalCount:

    记录总数



6303
6304
6305
# File 'lib/v20250806/models.rb', line 6303

def PageSize
  @PageSize
end

#TotalCountObject

Parameters:

  • Items:

    目录记录列表

  • PageCount:

    分页总页数

  • PageSize:

    分页大小

  • PageNumber:

    分页页码

  • TotalCount:

    记录总数



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