Class: TencentCloud::Cwp::V20180228::DescribeAccountStatisticsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeAccountStatisticsResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeAccountStatistics返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, accountstatistics = nil, requestid = nil) ⇒ DescribeAccountStatisticsResponse
constructor
A new instance of DescribeAccountStatisticsResponse.
Constructor Details
#initialize(totalcount = nil, accountstatistics = nil, requestid = nil) ⇒ DescribeAccountStatisticsResponse
Returns a new instance of DescribeAccountStatisticsResponse.
7825 7826 7827 7828 7829 |
# File 'lib/v20180228/models.rb', line 7825 def initialize(totalcount=nil, accountstatistics=nil, requestid=nil) @TotalCount = totalcount @AccountStatistics = accountstatistics @RequestId = requestid end |
Instance Attribute Details
#AccountStatistics ⇒ Object
7823 7824 7825 |
# File 'lib/v20180228/models.rb', line 7823 def AccountStatistics @AccountStatistics end |
#RequestId ⇒ Object
7823 7824 7825 |
# File 'lib/v20180228/models.rb', line 7823 def RequestId @RequestId end |
#TotalCount ⇒ Object
7823 7824 7825 |
# File 'lib/v20180228/models.rb', line 7823 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 |
# File 'lib/v20180228/models.rb', line 7831 def deserialize(params) @TotalCount = params['TotalCount'] unless params['AccountStatistics'].nil? @AccountStatistics = [] params['AccountStatistics'].each do |i| accountstatistics_tmp = AccountStatistics.new accountstatistics_tmp.deserialize(i) @AccountStatistics << accountstatistics_tmp end end @RequestId = params['RequestId'] end |