Class: TencentCloud::Thpc::V20211109::DataDisk
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20211109::DataDisk
- Defined in:
- lib/v20211109/models.rb
Overview
描述了数据盘的信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(disksize = nil, disktype = nil) ⇒ DataDisk
constructor
A new instance of DataDisk.
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
#DiskSize ⇒ Object
430 431 432 |
# File 'lib/v20211109/models.rb', line 430 def DiskSize @DiskSize end |
#DiskType ⇒ Object
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 |