Class: TencentCloud::Omics::V20221128::LimitRange
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Omics::V20221128::LimitRange
- Defined in:
- lib/v20221128/models.rb
Overview
资源限制范围。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(maxcpu = nil, maxmemory = nil) ⇒ LimitRange
constructor
A new instance of LimitRange.
Constructor Details
#initialize(maxcpu = nil, maxmemory = nil) ⇒ LimitRange
Returns a new instance of LimitRange.
1356 1357 1358 1359 |
# File 'lib/v20221128/models.rb', line 1356 def initialize(maxcpu=nil, maxmemory=nil) @MaxCPU = maxcpu @MaxMemory = maxmemory end |
Instance Attribute Details
#MaxCPU ⇒ Object
1354 1355 1356 |
# File 'lib/v20221128/models.rb', line 1354 def MaxCPU @MaxCPU end |
#MaxMemory ⇒ Object
1354 1355 1356 |
# File 'lib/v20221128/models.rb', line 1354 def MaxMemory @MaxMemory end |
Instance Method Details
#deserialize(params) ⇒ Object
1361 1362 1363 1364 |
# File 'lib/v20221128/models.rb', line 1361 def deserialize(params) @MaxCPU = params['MaxCPU'] @MaxMemory = params['MaxMemory'] end |