Class: TencentCloud::Partners::V20180321::DescribeAgentDealsByCacheResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Partners::V20180321::DescribeAgentDealsByCacheResponse
- Defined in:
- lib/v20180321/models.rb
Overview
DescribeAgentDealsByCache返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(agentdealset = nil, totalcount = nil, requestid = nil) ⇒ DescribeAgentDealsByCacheResponse
constructor
A new instance of DescribeAgentDealsByCacheResponse.
Constructor Details
#initialize(agentdealset = nil, totalcount = nil, requestid = nil) ⇒ DescribeAgentDealsByCacheResponse
Returns a new instance of DescribeAgentDealsByCacheResponse.
1063 1064 1065 1066 1067 |
# File 'lib/v20180321/models.rb', line 1063 def initialize(agentdealset=nil, totalcount=nil, requestid=nil) @AgentDealSet = agentdealset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#AgentDealSet ⇒ Object
1061 1062 1063 |
# File 'lib/v20180321/models.rb', line 1061 def AgentDealSet @AgentDealSet end |
#RequestId ⇒ Object
1061 1062 1063 |
# File 'lib/v20180321/models.rb', line 1061 def RequestId @RequestId end |
#TotalCount ⇒ Object
1061 1062 1063 |
# File 'lib/v20180321/models.rb', line 1061 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 |
# File 'lib/v20180321/models.rb', line 1069 def deserialize(params) unless params['AgentDealSet'].nil? @AgentDealSet = [] params['AgentDealSet'].each do |i| agentdealnewelem_tmp = AgentDealNewElem.new agentdealnewelem_tmp.deserialize(i) @AgentDealSet << agentdealnewelem_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |