FilesSpec#

class FilesSpec(is_single_dir_tree=False, mount_target_ext_id=None, file_paths=None, i_node_numbers=None, *args, **kwargs)#

Bases: object

Request body specification for tier APIs.

Parameters:
  • is_single_dir_tree – (is_single_dir_tree) Boolean field to indicate if all files belong to the same VG. (Default False)

  • mount_target_ext_id (required) – (mount_target_ext_id) Mount target external identifier for files to tier/recall.

  • file_paths – (file_paths) Path of the files to be tiered/recalled relative to root Mount target.

  • i_node_numbers – (i_node_numbers) List of inode numbers strings. Inode number should be in the format Inode/Inode:GenId.

property file_paths#

Path of the files to be tiered/recalled relative to root Mount target.

Type:

list[ str ]

property i_node_numbers#

List of inode numbers strings. Inode number should be in the format Inode/Inode:GenId.

Type:

list[ str ]

property is_single_dir_tree#

Boolean field to indicate if all files belong to the same VG.

Type:

bool

property mount_target_ext_id#

Mount target external identifier for files to tier/recall.

Type:

str

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model