sebaubuntu_libs.libgofile.contents
Classes
|
|
|
Class representing a GoFile content response. |
|
Class representing a GoFile file. |
|
Class representing a GoFile folder. |
- class sebaubuntu_libs.libgofile.contents.Content(content_id: str, content_type: str, name: str, parent_folder: str, create_time: datetime)
- class sebaubuntu_libs.libgofile.contents.ContentResponse(total_download_count: int, total_size: int, contents: Dict[str, Dict[str, Any]], owner_id: str | None = None, parent_folder: str | None = None, is_root: bool = False, *args: Any, **kwargs: Dict[str, Any])
Class representing a GoFile content response.
As of now all contents returned by get_content are folders.
- __init__(total_download_count: int, total_size: int, contents: Dict[str, Dict[str, Any]], owner_id: str | None = None, parent_folder: str | None = None, is_root: bool = False, *args: Any, **kwargs: Dict[str, Any])
Initialize a GoFile content.
- static from_dict(data: Dict[str, Any]) ContentResponse
- class sebaubuntu_libs.libgofile.contents.File(size: int, download_count: int, md5: str, mimetype: str, server_choosen: str, direct_link: str, link: str, *args: Any, **kwargs: Dict[str, Any])
Class representing a GoFile file.
- __init__(size: int, download_count: int, md5: str, mimetype: str, server_choosen: str, direct_link: str, link: str, *args: Any, **kwargs: Dict[str, Any])
Initialize a GoFile file.
- get_kwargs()