Class: TencentCloud::Thpc::V20211109::SystemDisk
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20211109::SystemDisk
- Defined in:
- lib/v20211109/models.rb
Overview
描述了操作系统所在块设备即系统盘的信息
Instance Attribute Summary collapse
-
#DiskSize ⇒ Object
默认取值:当前有库存的硬盘类型。.
-
#DiskType ⇒ Object
默认取值:当前有库存的硬盘类型。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(disktype = nil, disksize = nil) ⇒ SystemDisk
constructor
A new instance of SystemDisk.
Constructor Details
#initialize(disktype = nil, disksize = nil) ⇒ SystemDisk
Returns a new instance of SystemDisk.
847 848 849 850 |
# File 'lib/v20211109/models.rb', line 847 def initialize(disktype=nil, disksize=nil) @DiskType = disktype @DiskSize = disksize end |
Instance Attribute Details
#DiskSize ⇒ Object
默认取值:当前有库存的硬盘类型。
845 846 847 |
# File 'lib/v20211109/models.rb', line 845 def DiskSize @DiskSize end |
#DiskType ⇒ Object
默认取值:当前有库存的硬盘类型。
845 846 847 |
# File 'lib/v20211109/models.rb', line 845 def DiskType @DiskType end |
Instance Method Details
#deserialize(params) ⇒ Object
852 853 854 855 |
# File 'lib/v20211109/models.rb', line 852 def deserialize(params) @DiskType = params['DiskType'] @DiskSize = params['DiskSize'] end |