Class: TencentCloud::Partners::V20180321::DescribeSalesmansResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Partners::V20180321::DescribeSalesmansResponse
- Defined in:
- lib/v20180321/models.rb
Overview
DescribeSalesmans返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(agentsalesmanset = nil, totalcount = nil, requestid = nil) ⇒ DescribeSalesmansResponse
constructor
A new instance of DescribeSalesmansResponse.
Constructor Details
#initialize(agentsalesmanset = nil, totalcount = nil, requestid = nil) ⇒ DescribeSalesmansResponse
1620 1621 1622 1623 1624 |
# File 'lib/v20180321/models.rb', line 1620 def initialize(agentsalesmanset=nil, totalcount=nil, requestid=nil) @AgentSalesmanSet = agentsalesmanset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#AgentSalesmanSet ⇒ Object
1618 1619 1620 |
# File 'lib/v20180321/models.rb', line 1618 def AgentSalesmanSet @AgentSalesmanSet end |
#RequestId ⇒ Object
1618 1619 1620 |
# File 'lib/v20180321/models.rb', line 1618 def RequestId @RequestId end |
#TotalCount ⇒ Object
1618 1619 1620 |
# File 'lib/v20180321/models.rb', line 1618 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 |
# File 'lib/v20180321/models.rb', line 1626 def deserialize(params) unless params['AgentSalesmanSet'].nil? @AgentSalesmanSet = [] params['AgentSalesmanSet'].each do |i| agentsalesmanelem_tmp = AgentSalesmanElem.new agentsalesmanelem_tmp.deserialize(i) @AgentSalesmanSet << agentsalesmanelem_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |