models.files_and_folders_info module¶
-
class
models.files_and_folders_info.
FilesAndFoldersInfo
(absolute_path=None, is_directory=None)[source]¶ Bases:
object
Implementation of the ‘FilesAndFoldersInfo’ model.
FilesAndFolders specifies the metadata information about the files and(or) folders for creating a download task.
- Attributes:
- absolute_path (string): AbsolutePath specifies the absolute path of
the specified file or folder.
- is_directory (bool): IsDirectory specifies if specified object is a
directory or not.
-
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.