Class: TencentCloud::Partners::V20180321::DescribeAgentPayDealsV2Response
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Partners::V20180321::DescribeAgentPayDealsV2Response
- Defined in:
- lib/v20180321/models.rb
Overview
DescribeAgentPayDealsV2返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(agentpaydealset = nil, totalcount = nil, requestid = nil) ⇒ DescribeAgentPayDealsV2Response
constructor
A new instance of DescribeAgentPayDealsV2Response.
Constructor Details
#initialize(agentpaydealset = nil, totalcount = nil, requestid = nil) ⇒ DescribeAgentPayDealsV2Response
Returns a new instance of DescribeAgentPayDealsV2Response.
1193 1194 1195 1196 1197 |
# File 'lib/v20180321/models.rb', line 1193 def initialize(agentpaydealset=nil, totalcount=nil, requestid=nil) @AgentPayDealSet = agentpaydealset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#AgentPayDealSet ⇒ Object
1191 1192 1193 |
# File 'lib/v20180321/models.rb', line 1191 def AgentPayDealSet @AgentPayDealSet end |
#RequestId ⇒ Object
1191 1192 1193 |
# File 'lib/v20180321/models.rb', line 1191 def RequestId @RequestId end |
#TotalCount ⇒ Object
1191 1192 1193 |
# File 'lib/v20180321/models.rb', line 1191 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 |
# File 'lib/v20180321/models.rb', line 1199 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 |