DirectoryWithChildren#

class DirectoryWithChildren[source]#

A directory represented as JSON.

entries: Sequence[Union[BaseFile, DirectoryWithChildren]]#

The entries in this directory. This is a list that will contain all children of the directory. This key might not be present, in which case the file is not a directory.

type: Literal['directory']#

This is a directory

id: str#

The id of the directory, this can be used to retrieve it later on.

name: str#

The name of the directory, this does not include the name of any parents.