Class: TencentCloud::Weilingwith::V20230427::ProductSet

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

Overview

产品列表查询结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pagenumber = nil, pagesize = nil, totalpage = nil, totalrow = nil, product = nil) ⇒ ProductSet

Returns a new instance of ProductSet.



6394
6395
6396
6397
6398
6399
6400
# File 'lib/v20230427/models.rb', line 6394

def initialize(pagenumber=nil, pagesize=nil, totalpage=nil, totalrow=nil, product=nil)
  @PageNumber = pagenumber
  @PageSize = pagesize
  @TotalPage = totalpage
  @TotalRow = totalrow
  @Product = product
end

Instance Attribute Details

#PageNumberObject

Parameters:

  • PageNumber:

    第几页

  • PageSize:

    每页条数

  • TotalPage:

    总页数

  • TotalRow:

    总条数

  • Product:

    产品信息列表



6392
6393
6394
# File 'lib/v20230427/models.rb', line 6392

def PageNumber
  @PageNumber
end

#PageSizeObject

Parameters:

  • PageNumber:

    第几页

  • PageSize:

    每页条数

  • TotalPage:

    总页数

  • TotalRow:

    总条数

  • Product:

    产品信息列表



6392
6393
6394
# File 'lib/v20230427/models.rb', line 6392

def PageSize
  @PageSize
end

#ProductObject

Parameters:

  • PageNumber:

    第几页

  • PageSize:

    每页条数

  • TotalPage:

    总页数

  • TotalRow:

    总条数

  • Product:

    产品信息列表



6392
6393
6394
# File 'lib/v20230427/models.rb', line 6392

def Product
  @Product
end

#TotalPageObject

Parameters:

  • PageNumber:

    第几页

  • PageSize:

    每页条数

  • TotalPage:

    总页数

  • TotalRow:

    总条数

  • Product:

    产品信息列表



6392
6393
6394
# File 'lib/v20230427/models.rb', line 6392

def TotalPage
  @TotalPage
end

#TotalRowObject

Parameters:

  • PageNumber:

    第几页

  • PageSize:

    每页条数

  • TotalPage:

    总页数

  • TotalRow:

    总条数

  • Product:

    产品信息列表



6392
6393
6394
# File 'lib/v20230427/models.rb', line 6392

def TotalRow
  @TotalRow
end

Instance Method Details

#deserialize(params) ⇒ Object



6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
# File 'lib/v20230427/models.rb', line 6402

def deserialize(params)
  @PageNumber = params['PageNumber']
  @PageSize = params['PageSize']
  @TotalPage = params['TotalPage']
  @TotalRow = params['TotalRow']
  unless params['Product'].nil?
    @Product = []
    params['Product'].each do |i|
      productinfo_tmp = ProductInfo.new
      productinfo_tmp.deserialize(i)
      @Product << productinfo_tmp
    end
  end
end