Class: TencentCloud::Postgres::V20170312::ClassInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Postgres::V20170312::ClassInfo
- Defined in:
- lib/v20170312/models.rb
Overview
数据库实例规格
Instance Attribute Summary collapse
- #CPU ⇒ Object
- #MaxStorage ⇒ Object
- #Memory ⇒ Object
- #MinStorage ⇒ Object
- #QPS ⇒ Object
- #SpecCode ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(speccode = nil, cpu = nil, memory = nil, maxstorage = nil, minstorage = nil, qps = nil) ⇒ ClassInfo
constructor
A new instance of ClassInfo.
Constructor Details
#initialize(speccode = nil, cpu = nil, memory = nil, maxstorage = nil, minstorage = nil, qps = nil) ⇒ ClassInfo
Returns a new instance of ClassInfo.
384 385 386 387 388 389 390 391 |
# File 'lib/v20170312/models.rb', line 384 def initialize(speccode=nil, cpu=nil, memory=nil, maxstorage=nil, minstorage=nil, qps=nil) @SpecCode = speccode @CPU = cpu @Memory = memory @MaxStorage = maxstorage @MinStorage = minstorage @QPS = qps end |
Instance Attribute Details
#CPU ⇒ Object
382 383 384 |
# File 'lib/v20170312/models.rb', line 382 def CPU @CPU end |
#MaxStorage ⇒ Object
382 383 384 |
# File 'lib/v20170312/models.rb', line 382 def MaxStorage @MaxStorage end |
#Memory ⇒ Object
382 383 384 |
# File 'lib/v20170312/models.rb', line 382 def Memory @Memory end |
#MinStorage ⇒ Object
382 383 384 |
# File 'lib/v20170312/models.rb', line 382 def MinStorage @MinStorage end |
#QPS ⇒ Object
382 383 384 |
# File 'lib/v20170312/models.rb', line 382 def QPS @QPS end |
#SpecCode ⇒ Object
382 383 384 |
# File 'lib/v20170312/models.rb', line 382 def SpecCode @SpecCode end |
Instance Method Details
#deserialize(params) ⇒ Object
393 394 395 396 397 398 399 400 |
# File 'lib/v20170312/models.rb', line 393 def deserialize(params) @SpecCode = params['SpecCode'] @CPU = params['CPU'] @Memory = params['Memory'] @MaxStorage = params['MaxStorage'] @MinStorage = params['MinStorage'] @QPS = params['QPS'] end |