yandex_music.shot.shot_type#
- class yandex_music.shot.shot_type.ShotType(id: str, title: str, client: Client | None = None)#
Bases:
YandexMusicObject
Класс, представляющий тип шота от Алисы.
- id#
Уникальный идентификатор типа.
- Type:
str
- title#
Заголовок шота.
- Type:
str
- client#
Клиент Yandex Music.
- Type:
yandex_music.Client
, optional
- classmethod de_json(data: dict, client: Client) ShotType | None #
Десериализация объекта.
- Parameters:
data (
dict
) – Поля и значения десериализуемого объекта.client (
yandex_music.Client
, optional) – Клиент Yandex Music.
- Returns:
Тип шота от Алисы.
- Return type:
- id: str#
- title: str#