Class: TencentCloud::Postgres::V20170312::SpecItemInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Postgres::V20170312::SpecItemInfo
- Defined in:
- lib/v20170312/models.rb
Overview
描述一种规格的信息
Instance Attribute Summary collapse
- #Cpu ⇒ Object
- #IsSupportTDE ⇒ Object
- #KernelVersion ⇒ Object
- #MajorVersion ⇒ Object
- #MaxStorage ⇒ Object
- #Memory ⇒ Object
- #MinStorage ⇒ Object
- #Pid ⇒ Object
- #Qps ⇒ Object
- #SpecCode ⇒ Object
- #Type ⇒ Object
- #Version ⇒ Object
- #VersionName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(speccode = nil, version = nil, versionname = nil, cpu = nil, memory = nil, maxstorage = nil, minstorage = nil, qps = nil, pid = nil, type = nil, majorversion = nil, kernelversion = nil, issupporttde = nil) ⇒ SpecItemInfo
constructor
A new instance of SpecItemInfo.
Constructor Details
#initialize(speccode = nil, version = nil, versionname = nil, cpu = nil, memory = nil, maxstorage = nil, minstorage = nil, qps = nil, pid = nil, type = nil, majorversion = nil, kernelversion = nil, issupporttde = nil) ⇒ SpecItemInfo
Returns a new instance of SpecItemInfo.
7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 |
# File 'lib/v20170312/models.rb', line 7389 def initialize(speccode=nil, version=nil, versionname=nil, cpu=nil, memory=nil, maxstorage=nil, minstorage=nil, qps=nil, pid=nil, type=nil, majorversion=nil, kernelversion=nil, issupporttde=nil) @SpecCode = speccode @Version = version @VersionName = versionname @Cpu = cpu @Memory = memory @MaxStorage = maxstorage @MinStorage = minstorage @Qps = qps @Pid = pid @Type = type @MajorVersion = majorversion @KernelVersion = kernelversion @IsSupportTDE = issupporttde end |
Instance Attribute Details
#Cpu ⇒ Object
7387 7388 7389 |
# File 'lib/v20170312/models.rb', line 7387 def Cpu @Cpu end |
#IsSupportTDE ⇒ Object
7387 7388 7389 |
# File 'lib/v20170312/models.rb', line 7387 def IsSupportTDE @IsSupportTDE end |
#KernelVersion ⇒ Object
7387 7388 7389 |
# File 'lib/v20170312/models.rb', line 7387 def KernelVersion @KernelVersion end |
#MajorVersion ⇒ Object
7387 7388 7389 |
# File 'lib/v20170312/models.rb', line 7387 def MajorVersion @MajorVersion end |
#MaxStorage ⇒ Object
7387 7388 7389 |
# File 'lib/v20170312/models.rb', line 7387 def MaxStorage @MaxStorage end |
#Memory ⇒ Object
7387 7388 7389 |
# File 'lib/v20170312/models.rb', line 7387 def Memory @Memory end |
#MinStorage ⇒ Object
7387 7388 7389 |
# File 'lib/v20170312/models.rb', line 7387 def MinStorage @MinStorage end |
#Pid ⇒ Object
7387 7388 7389 |
# File 'lib/v20170312/models.rb', line 7387 def Pid @Pid end |
#Qps ⇒ Object
7387 7388 7389 |
# File 'lib/v20170312/models.rb', line 7387 def Qps @Qps end |
#SpecCode ⇒ Object
7387 7388 7389 |
# File 'lib/v20170312/models.rb', line 7387 def SpecCode @SpecCode end |
#Type ⇒ Object
7387 7388 7389 |
# File 'lib/v20170312/models.rb', line 7387 def Type @Type end |
#Version ⇒ Object
7387 7388 7389 |
# File 'lib/v20170312/models.rb', line 7387 def Version @Version end |
#VersionName ⇒ Object
7387 7388 7389 |
# File 'lib/v20170312/models.rb', line 7387 def VersionName @VersionName end |
Instance Method Details
#deserialize(params) ⇒ Object
7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 |
# File 'lib/v20170312/models.rb', line 7405 def deserialize(params) @SpecCode = params['SpecCode'] @Version = params['Version'] @VersionName = params['VersionName'] @Cpu = params['Cpu'] @Memory = params['Memory'] @MaxStorage = params['MaxStorage'] @MinStorage = params['MinStorage'] @Qps = params['Qps'] @Pid = params['Pid'] @Type = params['Type'] @MajorVersion = params['MajorVersion'] @KernelVersion = params['KernelVersion'] @IsSupportTDE = params['IsSupportTDE'] end |