yndx_disk package#

Subpackages#

Submodules#

yndx_disk.classes module#

class yndx_disk.classes.BaseObject(token: str, created_at: str, modified_at: str, name: str, path: str, resource_id: str, revision: int, public_key: str = '', public_url: str = '', in_trash: bool = False)[source]#

Bases: object

created_at: str#
in_trash: bool = False#
modified_at: str#
name: str#
path: str#
public_key: str = ''#
public_url: str = ''#
resource_id: str#
revision: int#
token: str#
class yndx_disk.classes.Directory(token: str, created_at: str, modified_at: str, name: str, path: str, resource_id: str, revision: int, public_key: str = '', public_url: str = '', in_trash: bool = False)[source]#

Bases: BaseObject

property contents: list#
property size: int#
class yndx_disk.classes.File(token: str, created_at: str, modified_at: str, name: str, path: str, resource_id: str, revision: int, public_key: str = '', public_url: str = '', in_trash: bool = False, antivirus_status: str = '', file_url: str = '', preview_url: str = '', md5: str = '', sha256: str = '', media_type: str = '', mime_type: str = '', size: int = 0)[source]#

Bases: BaseObject

antivirus_status: str = ''#
file_url: str = ''#
md5: str = ''#
media_type: str = ''#
mime_type: str = ''#
preview_url: str = ''#
sha256: str = ''#
size: int = 0#

Module contents#