models.restore_file_copy_stats module

class models.restore_file_copy_stats.RestoreFileCopyStats(estimation_skipped=None, num_bytes_copied=None, num_directories_copied=None, num_files_copied=None, total_bytes_to_copy=None, total_directories_to_copy=None, total_files_to_copy=None)[source]

Bases: object

Implementation of the ‘RestoreFileCopyStats’ model.

This message captures the progress information regarding restore of file/directory.

Attributes:
estimation_skipped (bool): This will be set to true if the estimation

step was skipped. NOTE: If estimation is skipped, then progress info will not be available.

num_bytes_copied (long|int): Number of bytes copied so far. num_directories_copied (int): Number of directories copied so far.

NOTE: This just means the creation of directory (not the contents of the directory).

num_files_copied (int): Number of files copied so far. total_bytes_to_copy (long|int): Total number of bytes to copy. total_directories_to_copy (int): Total number of directories to copy.

NOTE: This just means the creation of directory (not the contents of the directory).

total_files_to_copy (int): Total number of files to copy.

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.