Class: TencentCloud::Partners::V20180321::DescribeRebateInfosResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Partners::V20180321::DescribeRebateInfosResponse
- Defined in:
- lib/v20180321/models.rb
Overview
DescribeRebateInfos返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rebateinfoset = nil, totalcount = nil, requestid = nil) ⇒ DescribeRebateInfosResponse
constructor
A new instance of DescribeRebateInfosResponse.
Constructor Details
#initialize(rebateinfoset = nil, totalcount = nil, requestid = nil) ⇒ DescribeRebateInfosResponse
Returns a new instance of DescribeRebateInfosResponse.
1557 1558 1559 1560 1561 |
# File 'lib/v20180321/models.rb', line 1557 def initialize(rebateinfoset=nil, totalcount=nil, requestid=nil) @RebateInfoSet = rebateinfoset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RebateInfoSet ⇒ Object
1555 1556 1557 |
# File 'lib/v20180321/models.rb', line 1555 def RebateInfoSet @RebateInfoSet end |
#RequestId ⇒ Object
1555 1556 1557 |
# File 'lib/v20180321/models.rb', line 1555 def RequestId @RequestId end |
#TotalCount ⇒ Object
1555 1556 1557 |
# File 'lib/v20180321/models.rb', line 1555 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 |
# File 'lib/v20180321/models.rb', line 1563 def deserialize(params) unless params['RebateInfoSet'].nil? @RebateInfoSet = [] params['RebateInfoSet'].each do |i| rebateinfoelem_tmp = RebateInfoElem.new rebateinfoelem_tmp.deserialize(i) @RebateInfoSet << rebateinfoelem_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |