Class: TencentCloud::Thpc::V20220401::DataDisk
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20220401::DataDisk
- Defined in:
- lib/v20220401/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.
746 747 748 749 |
# File 'lib/v20220401/models.rb', line 746 def initialize(disksize=nil, disktype=nil) @DiskSize = disksize @DiskType = disktype end |
Instance Attribute Details
#DiskSize ⇒ Object
744 745 746 |
# File 'lib/v20220401/models.rb', line 744 def DiskSize @DiskSize end |
#DiskType ⇒ Object
744 745 746 |
# File 'lib/v20220401/models.rb', line 744 def DiskType @DiskType end |
Instance Method Details
#deserialize(params) ⇒ Object
751 752 753 754 |
# File 'lib/v20220401/models.rb', line 751 def deserialize(params) @DiskSize = params['DiskSize'] @DiskType = params['DiskType'] end |