Class: TencentCloud::Partners::V20180321::DescribeAgentSelfPayDealsV2Response
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Partners::V20180321::DescribeAgentSelfPayDealsV2Response
- Defined in:
- lib/v20180321/models.rb
Overview
DescribeAgentSelfPayDealsV2返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(agentpaydealset = nil, totalcount = nil, requestid = nil) ⇒ DescribeAgentSelfPayDealsV2Response
constructor
A new instance of DescribeAgentSelfPayDealsV2Response.
Constructor Details
#initialize(agentpaydealset = nil, totalcount = nil, requestid = nil) ⇒ DescribeAgentSelfPayDealsV2Response
1308 1309 1310 1311 1312 |
# File 'lib/v20180321/models.rb', line 1308 def initialize(agentpaydealset=nil, totalcount=nil, requestid=nil) @AgentPayDealSet = agentpaydealset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#AgentPayDealSet ⇒ Object
1306 1307 1308 |
# File 'lib/v20180321/models.rb', line 1306 def AgentPayDealSet @AgentPayDealSet end |
#RequestId ⇒ Object
1306 1307 1308 |
# File 'lib/v20180321/models.rb', line 1306 def RequestId @RequestId end |
#TotalCount ⇒ Object
1306 1307 1308 |
# File 'lib/v20180321/models.rb', line 1306 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 |
# File 'lib/v20180321/models.rb', line 1314 def deserialize(params) unless params['AgentPayDealSet'].nil? @AgentPayDealSet = [] params['AgentPayDealSet'].each do |i| agentdealnewelem_tmp = AgentDealNewElem.new agentdealnewelem_tmp.deserialize(i) @AgentPayDealSet << agentdealnewelem_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |