Class: TencentCloud::Cdb::V20170320::DeviceCpuRateInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DeviceCpuRateInfo
- Defined in:
- lib/v20170320/models.rb
Overview
实例CPU平均使用率
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(cpucore = nil, rate = nil) ⇒ DeviceCpuRateInfo
constructor
A new instance of DeviceCpuRateInfo.
Constructor Details
#initialize(cpucore = nil, rate = nil) ⇒ DeviceCpuRateInfo
Returns a new instance of DeviceCpuRateInfo.
8845 8846 8847 8848 |
# File 'lib/v20170320/models.rb', line 8845 def initialize(cpucore=nil, rate=nil) @CpuCore = cpucore @Rate = rate end |
Instance Attribute Details
#CpuCore ⇒ Object
8843 8844 8845 |
# File 'lib/v20170320/models.rb', line 8843 def CpuCore @CpuCore end |
#Rate ⇒ Object
8843 8844 8845 |
# File 'lib/v20170320/models.rb', line 8843 def Rate @Rate end |
Instance Method Details
#deserialize(params) ⇒ Object
8850 8851 8852 8853 |
# File 'lib/v20170320/models.rb', line 8850 def deserialize(params) @CpuCore = params['CpuCore'] @Rate = params['Rate'] end |