Class: TencentCloud::Yunjing::V20180228::DescribeAccountStatisticsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Yunjing::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.
1350 1351 1352 1353 1354 |
# File 'lib/v20180228/models.rb', line 1350 def initialize(totalcount=nil, accountstatistics=nil, requestid=nil) @TotalCount = totalcount @AccountStatistics = accountstatistics @RequestId = requestid end |
Instance Attribute Details
#AccountStatistics ⇒ Object
1348 1349 1350 |
# File 'lib/v20180228/models.rb', line 1348 def AccountStatistics @AccountStatistics end |
#RequestId ⇒ Object
1348 1349 1350 |
# File 'lib/v20180228/models.rb', line 1348 def RequestId @RequestId end |
#TotalCount ⇒ Object
1348 1349 1350 |
# File 'lib/v20180228/models.rb', line 1348 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 |
# File 'lib/v20180228/models.rb', line 1356 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 |