Class: TencentCloud::Intlpartnersmgt::V20220928::QueryVoucherListByUinResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Intlpartnersmgt::V20220928::QueryVoucherListByUinResponse
- Defined in:
- lib/v20220928/models.rb
Overview
QueryVoucherListByUin返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, requestid = nil) ⇒ QueryVoucherListByUinResponse
constructor
A new instance of QueryVoucherListByUinResponse.
Constructor Details
#initialize(data = nil, requestid = nil) ⇒ QueryVoucherListByUinResponse
Returns a new instance of QueryVoucherListByUinResponse.
686 687 688 689 |
# File 'lib/v20220928/models.rb', line 686 def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
684 685 686 |
# File 'lib/v20220928/models.rb', line 684 def Data @Data end |
#RequestId ⇒ Object
684 685 686 |
# File 'lib/v20220928/models.rb', line 684 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
691 692 693 694 695 696 697 698 699 700 701 |
# File 'lib/v20220928/models.rb', line 691 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| queryvoucherlistbyuinitem_tmp = QueryVoucherListByUinItem.new queryvoucherlistbyuinitem_tmp.deserialize(i) @Data << queryvoucherlistbyuinitem_tmp end end @RequestId = params['RequestId'] end |