30#ifndef JELLYFIN_DTO_REMOTELYRICINFODTO_H
31#define JELLYFIN_DTO_REMOTELYRICINFODTO_H
35#include <QSharedPointer>
55 QSharedPointer<LyricDto>
lyrics
67 QJsonObject
toJson()
const;
89 QSharedPointer<LyricDto>
lyrics()
const;
91 void setLyrics(QSharedPointer<LyricDto> newLyrics);
97 QSharedPointer<LyricDto>
m_lyrics = QSharedPointer<LyricDto>();
An Api client for Jellyfin. Handles requests and authentication.
Definition apiclient.h:90
Definition remotelyricinfodto.h:50
RemoteLyricInfoDto(QString jellyfinId, QString providerName, QSharedPointer< LyricDto > lyrics)
Definition remotelyricinfodto.cpp:36
QString jellyfinId() const
Gets or sets the id for the lyric.
Definition remotelyricinfodto.cpp:83
QString m_jellyfinId
Definition remotelyricinfodto.h:95
void setProviderName(QString newProviderName)
Gets the provider name.
Definition remotelyricinfodto.cpp:91
QSharedPointer< LyricDto > m_lyrics
Definition remotelyricinfodto.h:97
QString providerName() const
Gets the provider name.
Definition remotelyricinfodto.cpp:89
static RemoteLyricInfoDto fromJson(QJsonObject source)
Definition remotelyricinfodto.cpp:60
void setJellyfinId(QString newJellyfinId)
Gets or sets the id for the lyric.
Definition remotelyricinfodto.cpp:85
void setFromJson(QJsonObject source)
Definition remotelyricinfodto.cpp:67
QSharedPointer< LyricDto > lyrics() const
Definition remotelyricinfodto.cpp:95
void setLyrics(QSharedPointer< LyricDto > newLyrics)
Definition remotelyricinfodto.cpp:97
QJsonObject toJson() const
Definition remotelyricinfodto.cpp:74
void replaceData(RemoteLyricInfoDto &other)
Definition remotelyricinfodto.cpp:54
QString m_providerName
Definition remotelyricinfodto.h:96
Contains auto-generated Data Transfer Objects for the Jellyfin HTTP API.
Definition accessschedule.h:128
Jellyfin::DTO::RemoteLyricInfoDto RemoteLyricInfoDto
Definition remotelyricinfodto.h:109
AccessSchedule fromJsonValue(const QJsonValue &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:133
QJsonValue toJsonValue(const AccessSchedule &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:139
Definition jsonconvimpl.h:45