Class: TencentCloud::Partners::V20180321::DescribeRebateInfosNewResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Partners::V20180321::DescribeRebateInfosNewResponse
- Defined in:
- lib/v20180321/models.rb
Overview
DescribeRebateInfosNew返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rebateinfoset = nil, totalcount = nil, requestid = nil) ⇒ DescribeRebateInfosNewResponse
constructor
A new instance of DescribeRebateInfosNewResponse.
Constructor Details
#initialize(rebateinfoset = nil, totalcount = nil, requestid = nil) ⇒ DescribeRebateInfosNewResponse
Returns a new instance of DescribeRebateInfosNewResponse.
1502 1503 1504 1505 1506 |
# File 'lib/v20180321/models.rb', line 1502 def initialize(rebateinfoset=nil, totalcount=nil, requestid=nil) @RebateInfoSet = rebateinfoset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RebateInfoSet ⇒ Object
1500 1501 1502 |
# File 'lib/v20180321/models.rb', line 1500 def RebateInfoSet @RebateInfoSet end |
#RequestId ⇒ Object
1500 1501 1502 |
# File 'lib/v20180321/models.rb', line 1500 def RequestId @RequestId end |
#TotalCount ⇒ Object
1500 1501 1502 |
# File 'lib/v20180321/models.rb', line 1500 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 |
# File 'lib/v20180321/models.rb', line 1508 def deserialize(params) unless params['RebateInfoSet'].nil? @RebateInfoSet = [] params['RebateInfoSet'].each do |i| rebateinfoelemnew_tmp = RebateInfoElemNew.new rebateinfoelemnew_tmp.deserialize(i) @RebateInfoSet << rebateinfoelemnew_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |