Module: Ovh::Api::Models::DedicatedServerReinstallStoragePartitioningLayoutFileSystemEnum

Defined in:
lib/ovh-api/models/dedicated_server_reinstall_storage_partitioning_layout_file_system_enum.rb

Constant Summary collapse

BTRFS =
'btrfs'
EXT3 =
'ext3'
EXT4 =
'ext4'
FAT16 =
'fat16'
NONE =
'none'
NTFS =
'ntfs'
REISERFS =
'reiserfs'
SWAP =
'swap'
UFS =
'ufs'
VMFS5 =
'vmfs5'
VMFS6 =
'vmfs6'
VMFSL =
'vmfsl'
XFS =
'xfs'
ZFS =
'zfs'

Class Method Summary collapse

Class Method Details

.allObject



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# File 'lib/ovh-api/models/dedicated_server_reinstall_storage_partitioning_layout_file_system_enum.rb', line 26

def self.all
  @all ||= [
    BTRFS,
    EXT3,
    EXT4,
    FAT16,
    NONE,
    NTFS,
    REISERFS,
    SWAP,
    UFS,
    VMFS5,
    VMFS6,
    VMFSL,
    XFS,
    ZFS,
  ].freeze
end

.valid?(value) ⇒ Boolean

Returns:

  • (Boolean)


45
46
47
# File 'lib/ovh-api/models/dedicated_server_reinstall_storage_partitioning_layout_file_system_enum.rb', line 45

def self.valid?(value)
  all.include?(value)
end