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

#include <albuminfo.h>

Public Member Functions

 AlbumInfo (bool isAutomated, QStringList albumArtists, QJsonObject artistProviderIds, QList< SongInfo > songInfos)
 AlbumInfo (const AlbumInfo &other)
void replaceData (AlbumInfo &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
QString name () const
 Gets or sets the name.
void setName (QString newName)
 Gets or sets the name.
bool nameNull () const
void setNameNull ()
QString originalTitle () const
 Gets or sets the original title.
void setOriginalTitle (QString newOriginalTitle)
 Gets or sets the original title.
bool originalTitleNull () const
void setOriginalTitleNull ()
QString path () const
 Gets or sets the path.
void setPath (QString newPath)
 Gets or sets the path.
bool pathNull () const
void setPathNull ()
QString metadataLanguage () const
 Gets or sets the metadata language.
void setMetadataLanguage (QString newMetadataLanguage)
 Gets or sets the metadata language.
bool metadataLanguageNull () const
void setMetadataLanguageNull ()
QString metadataCountryCode () const
 Gets or sets the metadata country code.
void setMetadataCountryCode (QString newMetadataCountryCode)
 Gets or sets the metadata country code.
bool metadataCountryCodeNull () const
void setMetadataCountryCodeNull ()
QJsonObject providerIds () const
 Gets or sets the provider ids.
void setProviderIds (QJsonObject newProviderIds)
 Gets or sets the provider ids.
bool providerIdsNull () const
void setProviderIdsNull ()
std::optional< qint32 > year () const
 Gets or sets the year.
void setYear (std::optional< qint32 > newYear)
 Gets or sets the year.
bool yearNull () const
void setYearNull ()
std::optional< qint32 > indexNumber () const
void setIndexNumber (std::optional< qint32 > newIndexNumber)
bool indexNumberNull () const
void setIndexNumberNull ()
std::optional< qint32 > parentIndexNumber () const
void setParentIndexNumber (std::optional< qint32 > newParentIndexNumber)
bool parentIndexNumberNull () const
void setParentIndexNumberNull ()
QDateTime premiereDate () const
void setPremiereDate (QDateTime newPremiereDate)
bool premiereDateNull () const
void setPremiereDateNull ()
bool isAutomated () const
void setIsAutomated (bool newIsAutomated)
QStringList albumArtists () const
 Gets or sets the album artist.
void setAlbumArtists (QStringList newAlbumArtists)
 Gets or sets the album artist.
QJsonObject artistProviderIds () const
 Gets or sets the artist provider ids.
void setArtistProviderIds (QJsonObject newArtistProviderIds)
 Gets or sets the artist provider ids.
QList< SongInfosongInfos () const
void setSongInfos (QList< SongInfo > newSongInfos)

Static Public Member Functions

static AlbumInfo fromJson (QJsonObject source)

Protected Attributes

QString m_name
QString m_originalTitle
QString m_path
QString m_metadataLanguage
QString m_metadataCountryCode
QJsonObject m_providerIds
std::optional< qint32 > m_year = std::nullopt
std::optional< qint32 > m_indexNumber = std::nullopt
std::optional< qint32 > m_parentIndexNumber = std::nullopt
QDateTime m_premiereDate
bool m_isAutomated
QStringList m_albumArtists
QJsonObject m_artistProviderIds
QList< SongInfom_songInfos

Constructor & Destructor Documentation

◆ AlbumInfo() [1/2]

Jellyfin::DTO::AlbumInfo::AlbumInfo ( bool isAutomated,
QStringList albumArtists,
QJsonObject artistProviderIds,
QList< SongInfo > songInfos )

◆ AlbumInfo() [2/2]

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

Member Function Documentation

◆ albumArtists()

QStringList Jellyfin::DTO::AlbumInfo::albumArtists ( ) const

Gets or sets the album artist.

◆ artistProviderIds()

QJsonObject Jellyfin::DTO::AlbumInfo::artistProviderIds ( ) const

Gets or sets the artist provider ids.

◆ fromJson()

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

◆ indexNumber()

std::optional< qint32 > Jellyfin::DTO::AlbumInfo::indexNumber ( ) const

◆ indexNumberNull()

bool Jellyfin::DTO::AlbumInfo::indexNumberNull ( ) const

◆ isAutomated()

bool Jellyfin::DTO::AlbumInfo::isAutomated ( ) const

◆ metadataCountryCode()

QString Jellyfin::DTO::AlbumInfo::metadataCountryCode ( ) const

Gets or sets the metadata country code.

◆ metadataCountryCodeNull()

bool Jellyfin::DTO::AlbumInfo::metadataCountryCodeNull ( ) const

◆ metadataLanguage()

QString Jellyfin::DTO::AlbumInfo::metadataLanguage ( ) const

Gets or sets the metadata language.

◆ metadataLanguageNull()

bool Jellyfin::DTO::AlbumInfo::metadataLanguageNull ( ) const

◆ name()

QString Jellyfin::DTO::AlbumInfo::name ( ) const

Gets or sets the name.

◆ nameNull()

bool Jellyfin::DTO::AlbumInfo::nameNull ( ) const

◆ originalTitle()

QString Jellyfin::DTO::AlbumInfo::originalTitle ( ) const

Gets or sets the original title.

◆ originalTitleNull()

bool Jellyfin::DTO::AlbumInfo::originalTitleNull ( ) const

◆ parentIndexNumber()

std::optional< qint32 > Jellyfin::DTO::AlbumInfo::parentIndexNumber ( ) const

◆ parentIndexNumberNull()

bool Jellyfin::DTO::AlbumInfo::parentIndexNumberNull ( ) const

◆ path()

QString Jellyfin::DTO::AlbumInfo::path ( ) const

Gets or sets the path.

◆ pathNull()

bool Jellyfin::DTO::AlbumInfo::pathNull ( ) const

◆ premiereDate()

QDateTime Jellyfin::DTO::AlbumInfo::premiereDate ( ) const

◆ premiereDateNull()

bool Jellyfin::DTO::AlbumInfo::premiereDateNull ( ) const

◆ providerIds()

QJsonObject Jellyfin::DTO::AlbumInfo::providerIds ( ) const

Gets or sets the provider ids.

◆ providerIdsNull()

bool Jellyfin::DTO::AlbumInfo::providerIdsNull ( ) const

◆ replaceData()

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

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

◆ setAlbumArtists()

void Jellyfin::DTO::AlbumInfo::setAlbumArtists ( QStringList newAlbumArtists)

Gets or sets the album artist.

◆ setArtistProviderIds()

void Jellyfin::DTO::AlbumInfo::setArtistProviderIds ( QJsonObject newArtistProviderIds)

Gets or sets the artist provider ids.

◆ setFromJson()

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

◆ setIndexNumber()

void Jellyfin::DTO::AlbumInfo::setIndexNumber ( std::optional< qint32 > newIndexNumber)

◆ setIndexNumberNull()

void Jellyfin::DTO::AlbumInfo::setIndexNumberNull ( )

◆ setIsAutomated()

void Jellyfin::DTO::AlbumInfo::setIsAutomated ( bool newIsAutomated)

◆ setMetadataCountryCode()

void Jellyfin::DTO::AlbumInfo::setMetadataCountryCode ( QString newMetadataCountryCode)

Gets or sets the metadata country code.

◆ setMetadataCountryCodeNull()

void Jellyfin::DTO::AlbumInfo::setMetadataCountryCodeNull ( )

◆ setMetadataLanguage()

void Jellyfin::DTO::AlbumInfo::setMetadataLanguage ( QString newMetadataLanguage)

Gets or sets the metadata language.

◆ setMetadataLanguageNull()

void Jellyfin::DTO::AlbumInfo::setMetadataLanguageNull ( )

◆ setName()

void Jellyfin::DTO::AlbumInfo::setName ( QString newName)

Gets or sets the name.

◆ setNameNull()

void Jellyfin::DTO::AlbumInfo::setNameNull ( )

◆ setOriginalTitle()

void Jellyfin::DTO::AlbumInfo::setOriginalTitle ( QString newOriginalTitle)

Gets or sets the original title.

◆ setOriginalTitleNull()

void Jellyfin::DTO::AlbumInfo::setOriginalTitleNull ( )

◆ setParentIndexNumber()

void Jellyfin::DTO::AlbumInfo::setParentIndexNumber ( std::optional< qint32 > newParentIndexNumber)

◆ setParentIndexNumberNull()

void Jellyfin::DTO::AlbumInfo::setParentIndexNumberNull ( )

◆ setPath()

void Jellyfin::DTO::AlbumInfo::setPath ( QString newPath)

Gets or sets the path.

◆ setPathNull()

void Jellyfin::DTO::AlbumInfo::setPathNull ( )

◆ setPremiereDate()

void Jellyfin::DTO::AlbumInfo::setPremiereDate ( QDateTime newPremiereDate)

◆ setPremiereDateNull()

void Jellyfin::DTO::AlbumInfo::setPremiereDateNull ( )

◆ setProviderIds()

void Jellyfin::DTO::AlbumInfo::setProviderIds ( QJsonObject newProviderIds)

Gets or sets the provider ids.

◆ setProviderIdsNull()

void Jellyfin::DTO::AlbumInfo::setProviderIdsNull ( )

◆ setSongInfos()

void Jellyfin::DTO::AlbumInfo::setSongInfos ( QList< SongInfo > newSongInfos)

◆ setYear()

void Jellyfin::DTO::AlbumInfo::setYear ( std::optional< qint32 > newYear)

Gets or sets the year.

◆ setYearNull()

void Jellyfin::DTO::AlbumInfo::setYearNull ( )

◆ songInfos()

QList< SongInfo > Jellyfin::DTO::AlbumInfo::songInfos ( ) const

◆ toJson()

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

◆ year()

std::optional< qint32 > Jellyfin::DTO::AlbumInfo::year ( ) const

Gets or sets the year.

◆ yearNull()

bool Jellyfin::DTO::AlbumInfo::yearNull ( ) const

Member Data Documentation

◆ m_albumArtists

QStringList Jellyfin::DTO::AlbumInfo::m_albumArtists
protected

◆ m_artistProviderIds

QJsonObject Jellyfin::DTO::AlbumInfo::m_artistProviderIds
protected

◆ m_indexNumber

std::optional<qint32> Jellyfin::DTO::AlbumInfo::m_indexNumber = std::nullopt
protected

◆ m_isAutomated

bool Jellyfin::DTO::AlbumInfo::m_isAutomated
protected

◆ m_metadataCountryCode

QString Jellyfin::DTO::AlbumInfo::m_metadataCountryCode
protected

◆ m_metadataLanguage

QString Jellyfin::DTO::AlbumInfo::m_metadataLanguage
protected

◆ m_name

QString Jellyfin::DTO::AlbumInfo::m_name
protected

◆ m_originalTitle

QString Jellyfin::DTO::AlbumInfo::m_originalTitle
protected

◆ m_parentIndexNumber

std::optional<qint32> Jellyfin::DTO::AlbumInfo::m_parentIndexNumber = std::nullopt
protected

◆ m_path

QString Jellyfin::DTO::AlbumInfo::m_path
protected

◆ m_premiereDate

QDateTime Jellyfin::DTO::AlbumInfo::m_premiereDate
protected

◆ m_providerIds

QJsonObject Jellyfin::DTO::AlbumInfo::m_providerIds
protected

◆ m_songInfos

QList<SongInfo> Jellyfin::DTO::AlbumInfo::m_songInfos
protected

◆ m_year

std::optional<qint32> Jellyfin::DTO::AlbumInfo::m_year = std::nullopt
protected

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