Class: TencentCloud::Thpc::V20211109::DataDisk

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20211109/models.rb

Overview

描述了数据盘的信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(disksize = nil, disktype = nil) ⇒ DataDisk

Returns a new instance of DataDisk.



432
433
434
435
# File 'lib/v20211109/models.rb', line 432

def initialize(disksize=nil, disktype=nil)
  @DiskSize = disksize
  @DiskType = disktype
end

Instance Attribute Details

#DiskSizeObject

Parameters:



430
431
432
# File 'lib/v20211109/models.rb', line 430

def DiskSize
  @DiskSize
end

#DiskTypeObject

Parameters:



430
431
432
# File 'lib/v20211109/models.rb', line 430

def DiskType
  @DiskType
end

Instance Method Details

#deserialize(params) ⇒ Object



437
438
439
440
# File 'lib/v20211109/models.rb', line 437

def deserialize(params)
  @DiskSize = params['DiskSize']
  @DiskType = params['DiskType']
end