models.file_restore_info module

class models.file_restore_info.FileRestoreInfo(error=None, filename=None, filesystem_volume=None, is_folder=None)[source]

Bases: object

Implementation of the ‘FileRestoreInfo’ model.

Specifies restore information of a file or a folder.

Attributes:

error (RequestError): Details about the Error. filename (string): Specifies the path of the file/directory. filesystem_volume (FilesystemVolume): Specifies information about a

filesystem volume.

is_folder (bool): Specifies whether the file path is a folder.

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.