Class: TencentCloud::Intlpartnersmgt::V20220928::QueryVoucherListByUinItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Intlpartnersmgt::V20220928::QueryVoucherListByUinItem
- Defined in:
- lib/v20220928/models.rb
Overview
单个客户代金券数据
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clientuin = nil, totalcount = nil, data = nil) ⇒ QueryVoucherListByUinItem
constructor
A new instance of QueryVoucherListByUinItem.
Constructor Details
#initialize(clientuin = nil, totalcount = nil, data = nil) ⇒ QueryVoucherListByUinItem
Returns a new instance of QueryVoucherListByUinItem.
637 638 639 640 641 |
# File 'lib/v20220928/models.rb', line 637 def initialize(clientuin=nil, totalcount=nil, data=nil) @ClientUin = clientuin @TotalCount = totalcount @Data = data end |
Instance Attribute Details
#ClientUin ⇒ Object
635 636 637 |
# File 'lib/v20220928/models.rb', line 635 def ClientUin @ClientUin end |
#Data ⇒ Object
635 636 637 |
# File 'lib/v20220928/models.rb', line 635 def Data @Data end |
#TotalCount ⇒ Object
635 636 637 |
# File 'lib/v20220928/models.rb', line 635 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
643 644 645 646 647 648 649 650 651 652 653 654 |
# File 'lib/v20220928/models.rb', line 643 def deserialize(params) @ClientUin = params['ClientUin'] @TotalCount = params['TotalCount'] unless params['Data'].nil? @Data = [] params['Data'].each do |i| queryvoucherlistbyuinvoucheritem_tmp = QueryVoucherListByUinVoucherItem.new queryvoucherlistbyuinvoucheritem_tmp.deserialize(i) @Data << queryvoucherlistbyuinvoucheritem_tmp end end end |