models.file_stat_info module¶
-
class
models.file_stat_info.
FileStatInfo
(backup_source_inode_id=None, mtime_usecs=None, size=None, mtype=None)[source]¶ Bases:
object
Implementation of the ‘FileStatInfo’ model.
TODO: type model description here.
- Attributes:
- backup_source_inode_id (long|int): Source inode id metadata for
certain adapters e.g. Netapp.
- mtime_usecs (long|int): If this is a file, the mtime as returned by
stat.
- size (long|int): If this is a file, the size of the file as returned
by stat.
- mtype (int): The type of this entity. This field will not be populated
for ReadDir results, since the DirEntry already contains the type information.
-
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.