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: Optional[Client] = 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#
client: Optional[Client] = None#
dative: str#
classmethod de_json(data: dict, client: Client) Optional[CaseForms]#

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

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

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

Returns

TODO.

Return type

yandex_music.CaseForms

genitive: str#
instrumental: str#
nominative: str#
prepositional: str#