yandex_music.account.plus#
- class yandex_music.account.plus.Plus(has_plus: bool, is_tutorial_completed: bool, client: Client | None = None)#
Bases:
YandexMusicObject
Класс, представляющий Plus подписку.
- has_plus#
Наличие.
- Type:
bool
- is_tutorial_completed#
Закончено ли руководство.
- Type:
bool
- client#
Клиент Yandex Music.
- Type:
yandex_music.Client
, optional
- classmethod de_json(data: dict, client: Client) Plus | None #
Десериализация объекта.
- Parameters:
data (
dict
) – Поля и значения десериализуемого объекта.client (
yandex_music.Client
, optional) – Клиент Yandex Music.
- Returns:
Plus подписка.
- Return type:
- has_plus: bool#
- is_tutorial_completed: bool#