models_v2.files_and_folders_object module

class models_v2.files_and_folders_object.FilesAndFoldersObject(absolute_path=None, is_directory=None)[source]

Bases: object

Implementation of the ‘FilesAndFoldersObject’ model.

Specifies a file or folder to download.

Attributes:
absolute_path (string): Specifies the absolute path of the file or

folder.

is_directory (bool): Specifies whether the file or folder object is a

directory.

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.