BaseFile¶ class BaseFile[source]¶ The base JSON representation of a file. type: Literal['file']¶ This is a file, not a directory. id: str¶ The id of this file name: str¶ The local name of this file, this does not include any parent directory names, nor does it include trailing slashes for directories. size: int | None¶ If we already know the file size of this file this will be provided here. hash: str | None¶ The hash of the file contents if we know this.