ArtistDonationData

class yandex_music.artist.artist_donation_data.ArtistDonationData

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

tip_url

Ссылка на страницу доната.

Type:

str, optional

artist

Артист.

Type:

yandex_music.Artist, optional

goal

Цель доната.

Type:

yandex_music.ArtistDonationGoal, optional

client

Клиент Yandex Music.

Type:

yandex_music.Client, optional

classmethod de_json(data, client)

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

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

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

Returns:

Данные доната артисту.

Return type:

yandex_music.ArtistDonationData