Class: TencentCloud::Partners::V20180321::DescribeAgentSelfPayDealsV2Response

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180321/models.rb

Overview

DescribeAgentSelfPayDealsV2返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#AgentPayDealSetObject



1306
1307
1308
# File 'lib/v20180321/models.rb', line 1306

def AgentPayDealSet
  @AgentPayDealSet
end

#RequestIdObject



1306
1307
1308
# File 'lib/v20180321/models.rb', line 1306

def RequestId
  @RequestId
end

#TotalCountObject



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