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.
7804 7805 7806 7807 7808 |
# File 'lib/v20180228/models.rb', line 7804 def initialize(totalcount=nil, accountstatistics=nil, requestid=nil) @TotalCount = totalcount @AccountStatistics = accountstatistics @RequestId = requestid end |
Instance Attribute Details
#AccountStatistics ⇒ Object
7802 7803 7804 |
# File 'lib/v20180228/models.rb', line 7802 def AccountStatistics @AccountStatistics end |
#RequestId ⇒ Object
7802 7803 7804 |
# File 'lib/v20180228/models.rb', line 7802 def RequestId @RequestId end |
#TotalCount ⇒ Object
7802 7803 7804 |
# File 'lib/v20180228/models.rb', line 7802 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 |
# File 'lib/v20180228/models.rb', line 7810 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 |