Class: TencentCloud::Yunjing::V20180228::DescribeComponentStatisticsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Yunjing::V20180228::DescribeComponentStatisticsResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeComponentStatistics返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, componentstatistics = nil, requestid = nil) ⇒ DescribeComponentStatisticsResponse
constructor
A new instance of DescribeComponentStatisticsResponse.
Constructor Details
#initialize(totalcount = nil, componentstatistics = nil, requestid = nil) ⇒ DescribeComponentStatisticsResponse
Returns a new instance of DescribeComponentStatisticsResponse.
2033 2034 2035 2036 2037 |
# File 'lib/v20180228/models.rb', line 2033 def initialize(totalcount=nil, componentstatistics=nil, requestid=nil) @TotalCount = totalcount @ComponentStatistics = componentstatistics @RequestId = requestid end |
Instance Attribute Details
#ComponentStatistics ⇒ Object
2031 2032 2033 |
# File 'lib/v20180228/models.rb', line 2031 def ComponentStatistics @ComponentStatistics end |
#RequestId ⇒ Object
2031 2032 2033 |
# File 'lib/v20180228/models.rb', line 2031 def RequestId @RequestId end |
#TotalCount ⇒ Object
2031 2032 2033 |
# File 'lib/v20180228/models.rb', line 2031 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 |
# File 'lib/v20180228/models.rb', line 2039 def deserialize(params) @TotalCount = params['TotalCount'] unless params['ComponentStatistics'].nil? @ComponentStatistics = [] params['ComponentStatistics'].each do |i| componentstatistics_tmp = ComponentStatistics.new componentstatistics_tmp.deserialize(i) @ComponentStatistics << componentstatistics_tmp end end @RequestId = params['RequestId'] end |