Class: TencentCloud::Emr::V20190103::ResourceDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::ResourceDetail
- Defined in:
- lib/v20190103/models.rb
Overview
资源详情
Instance Attribute Summary collapse
- #Cpu ⇒ Object
- #DiskSize ⇒ Object
- #DiskType ⇒ Object
- #InstanceType ⇒ Object
- #MemSize ⇒ Object
- #RootSize ⇒ Object
- #Spec ⇒ Object
- #SpecName ⇒ Object
- #StorageType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(spec = nil, specname = nil, storagetype = nil, disktype = nil, rootsize = nil, memsize = nil, cpu = nil, disksize = nil, instancetype = nil) ⇒ ResourceDetail
constructor
A new instance of ResourceDetail.
Constructor Details
#initialize(spec = nil, specname = nil, storagetype = nil, disktype = nil, rootsize = nil, memsize = nil, cpu = nil, disksize = nil, instancetype = nil) ⇒ ResourceDetail
Returns a new instance of ResourceDetail.
12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 |
# File 'lib/v20190103/models.rb', line 12187 def initialize(spec=nil, specname=nil, storagetype=nil, disktype=nil, rootsize=nil, memsize=nil, cpu=nil, disksize=nil, instancetype=nil) @Spec = spec @SpecName = specname @StorageType = storagetype @DiskType = disktype @RootSize = rootsize @MemSize = memsize @Cpu = cpu @DiskSize = disksize @InstanceType = instancetype end |
Instance Attribute Details
#Cpu ⇒ Object
12185 12186 12187 |
# File 'lib/v20190103/models.rb', line 12185 def Cpu @Cpu end |
#DiskSize ⇒ Object
12185 12186 12187 |
# File 'lib/v20190103/models.rb', line 12185 def DiskSize @DiskSize end |
#DiskType ⇒ Object
12185 12186 12187 |
# File 'lib/v20190103/models.rb', line 12185 def DiskType @DiskType end |
#InstanceType ⇒ Object
12185 12186 12187 |
# File 'lib/v20190103/models.rb', line 12185 def InstanceType @InstanceType end |
#MemSize ⇒ Object
12185 12186 12187 |
# File 'lib/v20190103/models.rb', line 12185 def MemSize @MemSize end |
#RootSize ⇒ Object
12185 12186 12187 |
# File 'lib/v20190103/models.rb', line 12185 def RootSize @RootSize end |
#Spec ⇒ Object
12185 12186 12187 |
# File 'lib/v20190103/models.rb', line 12185 def Spec @Spec end |
#SpecName ⇒ Object
12185 12186 12187 |
# File 'lib/v20190103/models.rb', line 12185 def SpecName @SpecName end |
#StorageType ⇒ Object
12185 12186 12187 |
# File 'lib/v20190103/models.rb', line 12185 def StorageType @StorageType end |
Instance Method Details
#deserialize(params) ⇒ Object
12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 |
# File 'lib/v20190103/models.rb', line 12199 def deserialize(params) @Spec = params['Spec'] @SpecName = params['SpecName'] @StorageType = params['StorageType'] @DiskType = params['DiskType'] @RootSize = params['RootSize'] @MemSize = params['MemSize'] @Cpu = params['Cpu'] @DiskSize = params['DiskSize'] @InstanceType = params['InstanceType'] end |