Class: TencentCloud::Partners::V20180321::DescribeAgentBillsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Partners::V20180321::DescribeAgentBillsResponse
- Defined in:
- lib/v20180321/models.rb
Overview
DescribeAgentBills返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, agentbillset = nil, requestid = nil) ⇒ DescribeAgentBillsResponse
constructor
A new instance of DescribeAgentBillsResponse.
Constructor Details
#initialize(totalcount = nil, agentbillset = nil, requestid = nil) ⇒ DescribeAgentBillsResponse
857 858 859 860 861 |
# File 'lib/v20180321/models.rb', line 857 def initialize(totalcount=nil, agentbillset=nil, requestid=nil) @TotalCount = totalcount @AgentBillSet = agentbillset @RequestId = requestid end |
Instance Attribute Details
#AgentBillSet ⇒ Object
855 856 857 |
# File 'lib/v20180321/models.rb', line 855 def AgentBillSet @AgentBillSet end |
#RequestId ⇒ Object
855 856 857 |
# File 'lib/v20180321/models.rb', line 855 def RequestId @RequestId end |
#TotalCount ⇒ Object
855 856 857 |
# File 'lib/v20180321/models.rb', line 855 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
863 864 865 866 867 868 869 870 871 872 873 874 |
# File 'lib/v20180321/models.rb', line 863 def deserialize(params) @TotalCount = params['TotalCount'] unless params['AgentBillSet'].nil? @AgentBillSet = [] params['AgentBillSet'].each do |i| agentbillelem_tmp = AgentBillElem.new agentbillelem_tmp.deserialize(i) @AgentBillSet << agentbillelem_tmp end end @RequestId = params['RequestId'] end |