Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <albuminfo.h>
Public Member Functions | |
AlbumInfo (bool isAutomated) | |
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 | 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. | |
bool | albumArtistsNull () const |
void | setAlbumArtistsNull () |
QJsonObject | artistProviderIds () const |
Gets or sets the artist provider ids. | |
void | setArtistProviderIds (QJsonObject newArtistProviderIds) |
Gets or sets the artist provider ids. | |
bool | artistProviderIdsNull () const |
void | setArtistProviderIdsNull () |
QList< SongInfo > | songInfos () const |
void | setSongInfos (QList< SongInfo > newSongInfos) |
bool | songInfosNull () const |
void | setSongInfosNull () |
Static Public Member Functions | |
static AlbumInfo | fromJson (QJsonObject source) |
Protected Attributes | |
QString | m_name |
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< SongInfo > | m_songInfos |
Jellyfin::DTO::AlbumInfo::AlbumInfo | ( | bool | isAutomated | ) |
Jellyfin::DTO::AlbumInfo::AlbumInfo | ( | const AlbumInfo & | other | ) |
QStringList Jellyfin::DTO::AlbumInfo::albumArtists | ( | ) | const |
Gets or sets the album artist.
bool Jellyfin::DTO::AlbumInfo::albumArtistsNull | ( | ) | const |
QJsonObject Jellyfin::DTO::AlbumInfo::artistProviderIds | ( | ) | const |
Gets or sets the artist provider ids.
bool Jellyfin::DTO::AlbumInfo::artistProviderIdsNull | ( | ) | const |
|
static |
std::optional< qint32 > Jellyfin::DTO::AlbumInfo::indexNumber | ( | ) | const |
bool Jellyfin::DTO::AlbumInfo::indexNumberNull | ( | ) | const |
bool Jellyfin::DTO::AlbumInfo::isAutomated | ( | ) | const |
QString Jellyfin::DTO::AlbumInfo::metadataCountryCode | ( | ) | const |
Gets or sets the metadata country code.
bool Jellyfin::DTO::AlbumInfo::metadataCountryCodeNull | ( | ) | const |
QString Jellyfin::DTO::AlbumInfo::metadataLanguage | ( | ) | const |
Gets or sets the metadata language.
bool Jellyfin::DTO::AlbumInfo::metadataLanguageNull | ( | ) | const |
QString Jellyfin::DTO::AlbumInfo::name | ( | ) | const |
Gets or sets the name.
bool Jellyfin::DTO::AlbumInfo::nameNull | ( | ) | const |
std::optional< qint32 > Jellyfin::DTO::AlbumInfo::parentIndexNumber | ( | ) | const |
bool Jellyfin::DTO::AlbumInfo::parentIndexNumberNull | ( | ) | const |
QString Jellyfin::DTO::AlbumInfo::path | ( | ) | const |
Gets or sets the path.
bool Jellyfin::DTO::AlbumInfo::pathNull | ( | ) | const |
QDateTime Jellyfin::DTO::AlbumInfo::premiereDate | ( | ) | const |
bool Jellyfin::DTO::AlbumInfo::premiereDateNull | ( | ) | const |
QJsonObject Jellyfin::DTO::AlbumInfo::providerIds | ( | ) | const |
Gets or sets the provider ids.
bool Jellyfin::DTO::AlbumInfo::providerIdsNull | ( | ) | const |
void Jellyfin::DTO::AlbumInfo::replaceData | ( | AlbumInfo & | other | ) |
Replaces the data being hold by this class with that of the other.
void Jellyfin::DTO::AlbumInfo::setAlbumArtists | ( | QStringList | newAlbumArtists | ) |
Gets or sets the album artist.
void Jellyfin::DTO::AlbumInfo::setAlbumArtistsNull | ( | ) |
void Jellyfin::DTO::AlbumInfo::setArtistProviderIds | ( | QJsonObject | newArtistProviderIds | ) |
Gets or sets the artist provider ids.
void Jellyfin::DTO::AlbumInfo::setArtistProviderIdsNull | ( | ) |
void Jellyfin::DTO::AlbumInfo::setFromJson | ( | QJsonObject | source | ) |
void Jellyfin::DTO::AlbumInfo::setIndexNumber | ( | std::optional< qint32 > | newIndexNumber | ) |
void Jellyfin::DTO::AlbumInfo::setIndexNumberNull | ( | ) |
void Jellyfin::DTO::AlbumInfo::setIsAutomated | ( | bool | newIsAutomated | ) |
void Jellyfin::DTO::AlbumInfo::setMetadataCountryCode | ( | QString | newMetadataCountryCode | ) |
Gets or sets the metadata country code.
void Jellyfin::DTO::AlbumInfo::setMetadataCountryCodeNull | ( | ) |
void Jellyfin::DTO::AlbumInfo::setMetadataLanguage | ( | QString | newMetadataLanguage | ) |
Gets or sets the metadata language.
void Jellyfin::DTO::AlbumInfo::setMetadataLanguageNull | ( | ) |
void Jellyfin::DTO::AlbumInfo::setName | ( | QString | newName | ) |
Gets or sets the name.
void Jellyfin::DTO::AlbumInfo::setNameNull | ( | ) |
void Jellyfin::DTO::AlbumInfo::setParentIndexNumber | ( | std::optional< qint32 > | newParentIndexNumber | ) |
void Jellyfin::DTO::AlbumInfo::setParentIndexNumberNull | ( | ) |
void Jellyfin::DTO::AlbumInfo::setPath | ( | QString | newPath | ) |
Gets or sets the path.
void Jellyfin::DTO::AlbumInfo::setPathNull | ( | ) |
void Jellyfin::DTO::AlbumInfo::setPremiereDate | ( | QDateTime | newPremiereDate | ) |
void Jellyfin::DTO::AlbumInfo::setPremiereDateNull | ( | ) |
void Jellyfin::DTO::AlbumInfo::setProviderIds | ( | QJsonObject | newProviderIds | ) |
Gets or sets the provider ids.
void Jellyfin::DTO::AlbumInfo::setProviderIdsNull | ( | ) |
void Jellyfin::DTO::AlbumInfo::setSongInfosNull | ( | ) |
void Jellyfin::DTO::AlbumInfo::setYear | ( | std::optional< qint32 > | newYear | ) |
Gets or sets the year.
void Jellyfin::DTO::AlbumInfo::setYearNull | ( | ) |
bool Jellyfin::DTO::AlbumInfo::songInfosNull | ( | ) | const |
QJsonObject Jellyfin::DTO::AlbumInfo::toJson | ( | ) | const |
std::optional< qint32 > Jellyfin::DTO::AlbumInfo::year | ( | ) | const |
Gets or sets the year.
bool Jellyfin::DTO::AlbumInfo::yearNull | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |