models_v2.common_file_and_folder_info module

class models_v2.common_file_and_folder_info.CommonFileAndFolderInfo(absolute_path=None, destination_dir=None, is_directory=None, status=None, messages=None)[source]

Bases: object

Implementation of the ‘Common File And Folder Info’ model.

Specifies the information about the specific file or folder to recover.

Attributes:
absolute_path (string): Specifies the absolute path to the file or

folder.

destination_dir (string): Specifies the destination directory where

the file/directory was copied.

is_directory (bool): Specifies whether this is a directory or not. status (Status8Enum): Specifies the recovery status for this file or

folder.

messages (list of string): Specify error messages about the file

during recovery.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.