Class: TencentCloud::Intlpartnersmgt::V20220928::QueryVoucherAmountByUinResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Intlpartnersmgt::V20220928::QueryVoucherAmountByUinResponse
- Defined in:
- lib/v20220928/models.rb
Overview
QueryVoucherAmountByUin返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, requestid = nil) ⇒ QueryVoucherAmountByUinResponse
constructor
A new instance of QueryVoucherAmountByUinResponse.
Constructor Details
#initialize(data = nil, requestid = nil) ⇒ QueryVoucherAmountByUinResponse
Returns a new instance of QueryVoucherAmountByUinResponse.
608 609 610 611 |
# File 'lib/v20220928/models.rb', line 608 def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
606 607 608 |
# File 'lib/v20220928/models.rb', line 606 def Data @Data end |
#RequestId ⇒ Object
606 607 608 |
# File 'lib/v20220928/models.rb', line 606 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
613 614 615 616 617 618 619 620 621 622 623 |
# File 'lib/v20220928/models.rb', line 613 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| queryvoucheramountbyuinitem_tmp = QueryVoucherAmountByUinItem.new queryvoucheramountbyuinitem_tmp.deserialize(i) @Data << queryvoucheramountbyuinitem_tmp end end @RequestId = params['RequestId'] end |