yandex_music.playlist.case_forms#
- class yandex_music.playlist.case_forms.CaseForms(nominative: str, genitive: str, dative: str, accusative: str, instrumental: str, prepositional: str, client: Client | None = None)#
Bases:
YandexMusicObject
Класс, представляющий склонение имени.
- nominative#
Именительный.
- Type:
str
- genitive#
Родительный.
- Type:
str
- dative#
Дательный.
- Type:
str
- accusative#
Винительный.
- Type:
str
- instrumental#
Творительный.
- Type:
str
- prepositional#
Предложный.
- Type:
str
- client#
Клиент Yandex Music.
- Type:
yandex_music.Client
, optional
- accusative: str#
- dative: str#
- classmethod de_json(data: dict, client: Client) CaseForms | None #
Десериализация объекта.
- Parameters:
data (
dict
) – Поля и значения десериализуемого объекта.client (
yandex_music.Client
, optional) – Клиент Yandex Music.
- Returns:
Склонение имени.
- Return type:
- genitive: str#
- instrumental: str#
- nominative: str#
- prepositional: str#