Class: TencentCloud::Weilingwith::V20230427::ProductSet
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Weilingwith::V20230427::ProductSet
- Defined in:
- lib/v20230427/models.rb
Overview
产品列表查询结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(pagenumber = nil, pagesize = nil, totalpage = nil, totalrow = nil, product = nil) ⇒ ProductSet
constructor
A new instance of ProductSet.
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
#PageNumber ⇒ Object
6392 6393 6394 |
# File 'lib/v20230427/models.rb', line 6392 def PageNumber @PageNumber end |
#PageSize ⇒ Object
6392 6393 6394 |
# File 'lib/v20230427/models.rb', line 6392 def PageSize @PageSize end |
#Product ⇒ Object
6392 6393 6394 |
# File 'lib/v20230427/models.rb', line 6392 def Product @Product end |
#TotalPage ⇒ Object
6392 6393 6394 |
# File 'lib/v20230427/models.rb', line 6392 def TotalPage @TotalPage end |
#TotalRow ⇒ Object
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 |