models_v2.progress_stats module¶
-
class
models_v2.progress_stats.
ProgressStats
(file_walk_done=None, total_file_count=None, backup_file_count=None)[source]¶ Bases:
object
Implementation of the ‘ProgressStats’ model.
Specifies the stats within progress.
- Attributes:
- file_walk_done (bool): Specifies whether the file system walk is done.
Only applicable to file based backups.
- total_file_count (long|int): Specifies the total number of file and
directory entities visited in this backup. Only applicable to file based backups.
- backup_file_count (long|int): Specifies the total number of file and
directory entities that are backed up in this run. Only applicable to file based backups.
-
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.