Class: TencentCloud::Cwp::V20180228::AssetDiskPartitionInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::AssetDiskPartitionInfo
- Defined in:
- lib/v20180228/models.rb
Overview
资产管理磁盘分区信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, size = nil, percent = nil, type = nil, path = nil, used = nil) ⇒ AssetDiskPartitionInfo
constructor
A new instance of AssetDiskPartitionInfo.
Constructor Details
#initialize(name = nil, size = nil, percent = nil, type = nil, path = nil, used = nil) ⇒ AssetDiskPartitionInfo
Returns a new instance of AssetDiskPartitionInfo.
680 681 682 683 684 685 686 687 |
# File 'lib/v20180228/models.rb', line 680 def initialize(name=nil, size=nil, percent=nil, type=nil, path=nil, used=nil) @Name = name @Size = size @Percent = percent @Type = type @Path = path @Used = used end |
Instance Attribute Details
#Name ⇒ Object
678 679 680 |
# File 'lib/v20180228/models.rb', line 678 def Name @Name end |
#Path ⇒ Object
678 679 680 |
# File 'lib/v20180228/models.rb', line 678 def Path @Path end |
#Percent ⇒ Object
678 679 680 |
# File 'lib/v20180228/models.rb', line 678 def Percent @Percent end |
#Size ⇒ Object
678 679 680 |
# File 'lib/v20180228/models.rb', line 678 def Size @Size end |
#Type ⇒ Object
678 679 680 |
# File 'lib/v20180228/models.rb', line 678 def Type @Type end |
#Used ⇒ Object
678 679 680 |
# File 'lib/v20180228/models.rb', line 678 def Used @Used end |
Instance Method Details
#deserialize(params) ⇒ Object
689 690 691 692 693 694 695 696 |
# File 'lib/v20180228/models.rb', line 689 def deserialize(params) @Name = params['Name'] @Size = params['Size'] @Percent = params['Percent'] @Type = params['Type'] @Path = params['Path'] @Used = params['Used'] end |