Class: TencentCloud::Partners::V20180321::DescribeAgentPayDealsV2Response

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

Overview

DescribeAgentPayDealsV2返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#AgentPayDealSetObject

Parameters:

  • 订单数组

  • 符合条件的订单总数量

  • 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1191
1192
1193
# File 'lib/v20180321/models.rb', line 1191

def AgentPayDealSet
  @AgentPayDealSet
end

#RequestIdObject

Parameters:

  • 订单数组

  • 符合条件的订单总数量

  • 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1191
1192
1193
# File 'lib/v20180321/models.rb', line 1191

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • 订单数组

  • 符合条件的订单总数量

  • 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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