Class: TencentCloud::Cwp::V20180228::AssetDiskPartitionInfo

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

Overview

资产管理磁盘分区信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#NameObject

Parameters:

  • Name:

    分区名

  • Size:

    分区大小:单位G

  • Percent:

    分区使用率

  • Type:

    文件系统类型

  • Path:

    挂载目录

  • Used:

    已使用空间:单位G



678
679
680
# File 'lib/v20180228/models.rb', line 678

def Name
  @Name
end

#PathObject

Parameters:

  • Name:

    分区名

  • Size:

    分区大小:单位G

  • Percent:

    分区使用率

  • Type:

    文件系统类型

  • Path:

    挂载目录

  • Used:

    已使用空间:单位G



678
679
680
# File 'lib/v20180228/models.rb', line 678

def Path
  @Path
end

#PercentObject

Parameters:

  • Name:

    分区名

  • Size:

    分区大小:单位G

  • Percent:

    分区使用率

  • Type:

    文件系统类型

  • Path:

    挂载目录

  • Used:

    已使用空间:单位G



678
679
680
# File 'lib/v20180228/models.rb', line 678

def Percent
  @Percent
end

#SizeObject

Parameters:

  • Name:

    分区名

  • Size:

    分区大小:单位G

  • Percent:

    分区使用率

  • Type:

    文件系统类型

  • Path:

    挂载目录

  • Used:

    已使用空间:单位G



678
679
680
# File 'lib/v20180228/models.rb', line 678

def Size
  @Size
end

#TypeObject

Parameters:

  • Name:

    分区名

  • Size:

    分区大小:单位G

  • Percent:

    分区使用率

  • Type:

    文件系统类型

  • Path:

    挂载目录

  • Used:

    已使用空间:单位G



678
679
680
# File 'lib/v20180228/models.rb', line 678

def Type
  @Type
end

#UsedObject

Parameters:

  • Name:

    分区名

  • Size:

    分区大小:单位G

  • Percent:

    分区使用率

  • Type:

    文件系统类型

  • Path:

    挂载目录

  • Used:

    已使用空间:单位G



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