yandex_music.playlist.playlist_absence#

class yandex_music.playlist.playlist_absence.PlaylistAbsence(kind: int, reason: str, client: Optional[Client] = None)#

Bases: YandexMusicObject

Класс, представляющий причину отсутствия плейлиста.

kind#

Уникальный идентификатор плейлиста.

Type

int

reason#

Причина отсутствия.

Type

str

client#

Клиент Yandex Music.

Type

yandex_music.Client, optional

client: Optional[Client] = None#
classmethod de_json(data: dict, client: Client) Optional[PlaylistAbsence]#

Десериализация объекта.

Parameters
  • data (dict) – Поля и значения десериализуемого объекта.

  • client (yandex_music.Client, optional) – Клиент Yandex Music.

Returns

Причина отсутствия плейлиста.

Return type

yandex_music.PlaylistAbsence

kind: int#
reason: str#