Class: TencentCloud::Yunjing::V20180228::DescribeComponentStatisticsResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180228/models.rb

Overview

DescribeComponentStatistics返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ComponentStatisticsObject

Parameters:

  • TotalCount:

    组件统计列表记录总数。

  • ComponentStatistics:

    组件统计列表数据数组。

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



2031
2032
2033
# File 'lib/v20180228/models.rb', line 2031

def ComponentStatistics
  @ComponentStatistics
end

#RequestIdObject

Parameters:

  • TotalCount:

    组件统计列表记录总数。

  • ComponentStatistics:

    组件统计列表数据数组。

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



2031
2032
2033
# File 'lib/v20180228/models.rb', line 2031

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    组件统计列表记录总数。

  • ComponentStatistics:

    组件统计列表数据数组。

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



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