Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
Loading...
Searching...
No Matches
Jellyfin::DTO::RemoteLyricInfoDto Class Reference

#include <remotelyricinfodto.h>

Public Member Functions

 RemoteLyricInfoDto (QString jellyfinId, QString providerName, QSharedPointer< LyricDto > lyrics)
 RemoteLyricInfoDto (const RemoteLyricInfoDto &other)
void replaceData (RemoteLyricInfoDto &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
QString jellyfinId () const
 Gets or sets the id for the lyric.
void setJellyfinId (QString newJellyfinId)
 Gets or sets the id for the lyric.
QString providerName () const
 Gets the provider name.
void setProviderName (QString newProviderName)
 Gets the provider name.
QSharedPointer< LyricDtolyrics () const
void setLyrics (QSharedPointer< LyricDto > newLyrics)

Static Public Member Functions

static RemoteLyricInfoDto fromJson (QJsonObject source)

Protected Attributes

QString m_jellyfinId
QString m_providerName
QSharedPointer< LyricDtom_lyrics = QSharedPointer<LyricDto>()

Constructor & Destructor Documentation

◆ RemoteLyricInfoDto() [1/2]

Jellyfin::DTO::RemoteLyricInfoDto::RemoteLyricInfoDto ( QString jellyfinId,
QString providerName,
QSharedPointer< LyricDto > lyrics )

◆ RemoteLyricInfoDto() [2/2]

Jellyfin::DTO::RemoteLyricInfoDto::RemoteLyricInfoDto ( const RemoteLyricInfoDto & other)

Member Function Documentation

◆ fromJson()

RemoteLyricInfoDto Jellyfin::DTO::RemoteLyricInfoDto::fromJson ( QJsonObject source)
static

◆ jellyfinId()

QString Jellyfin::DTO::RemoteLyricInfoDto::jellyfinId ( ) const

Gets or sets the id for the lyric.

◆ lyrics()

QSharedPointer< LyricDto > Jellyfin::DTO::RemoteLyricInfoDto::lyrics ( ) const

◆ providerName()

QString Jellyfin::DTO::RemoteLyricInfoDto::providerName ( ) const

Gets the provider name.

◆ replaceData()

void Jellyfin::DTO::RemoteLyricInfoDto::replaceData ( RemoteLyricInfoDto & other)

Replaces the data being hold by this class with that of the other.

◆ setFromJson()

void Jellyfin::DTO::RemoteLyricInfoDto::setFromJson ( QJsonObject source)

◆ setJellyfinId()

void Jellyfin::DTO::RemoteLyricInfoDto::setJellyfinId ( QString newJellyfinId)

Gets or sets the id for the lyric.

◆ setLyrics()

void Jellyfin::DTO::RemoteLyricInfoDto::setLyrics ( QSharedPointer< LyricDto > newLyrics)

◆ setProviderName()

void Jellyfin::DTO::RemoteLyricInfoDto::setProviderName ( QString newProviderName)

Gets the provider name.

◆ toJson()

QJsonObject Jellyfin::DTO::RemoteLyricInfoDto::toJson ( ) const

Member Data Documentation

◆ m_jellyfinId

QString Jellyfin::DTO::RemoteLyricInfoDto::m_jellyfinId
protected

◆ m_lyrics

QSharedPointer<LyricDto> Jellyfin::DTO::RemoteLyricInfoDto::m_lyrics = QSharedPointer<LyricDto>()
protected

◆ m_providerName

QString Jellyfin::DTO::RemoteLyricInfoDto::m_providerName
protected

The documentation for this class was generated from the following files: