30#ifndef JELLYFIN_DTO_ALBUMINFO_H
31#define JELLYFIN_DTO_ALBUMINFO_H
70 QJsonObject
toJson()
const;
142 std::optional<qint32>
year()
const;
146 void setYear(std::optional<qint32> newYear);
207 std::optional<qint32>
m_year = std::nullopt;
An Api client for Jellyfin. Handles requests and authentication.
Definition apiclient.h:90
Definition albuminfo.h:52
void setSongInfos(QList< SongInfo > newSongInfos)
Definition albuminfo.cpp:319
QJsonObject providerIds() const
Gets or sets the provider ids.
Definition albuminfo.cpp:234
QString m_path
Definition albuminfo.h:203
QString m_name
Definition albuminfo.h:201
QJsonObject toJson() const
Definition albuminfo.cpp:109
std::optional< qint32 > m_indexNumber
Definition albuminfo.h:208
bool metadataCountryCodeNull() const
Definition albuminfo.cpp:226
QJsonObject m_artistProviderIds
Definition albuminfo.h:213
void setFromJson(QJsonObject source)
Definition albuminfo.cpp:91
void setYear(std::optional< qint32 > newYear)
Gets or sets the year.
Definition albuminfo.cpp:249
void setMetadataCountryCodeNull()
Definition albuminfo.cpp:230
void setMetadataLanguage(QString newMetadataLanguage)
Gets or sets the metadata language.
Definition albuminfo.cpp:210
void setArtistProviderIds(QJsonObject newArtistProviderIds)
Gets or sets the artist provider ids.
Definition albuminfo.cpp:313
bool yearNull() const
Definition albuminfo.cpp:252
QDateTime premiereDate() const
Definition albuminfo.cpp:286
bool premiereDateNull() const
Definition albuminfo.cpp:291
void setProviderIdsNull()
Definition albuminfo.cpp:243
QJsonObject artistProviderIds() const
Gets or sets the artist provider ids.
Definition albuminfo.cpp:311
bool nameNull() const
Definition albuminfo.cpp:174
QString metadataCountryCode() const
Gets or sets the metadata country code.
Definition albuminfo.cpp:221
QStringList albumArtists() const
Gets or sets the album artist.
Definition albuminfo.cpp:305
std::optional< qint32 > parentIndexNumber() const
Definition albuminfo.cpp:273
QList< SongInfo > songInfos() const
Definition albuminfo.cpp:317
void setMetadataLanguageNull()
Definition albuminfo.cpp:217
bool m_isAutomated
Definition albuminfo.h:211
void setOriginalTitle(QString newOriginalTitle)
Gets or sets the original title.
Definition albuminfo.cpp:184
std::optional< qint32 > year() const
Gets or sets the year.
Definition albuminfo.cpp:247
void setProviderIds(QJsonObject newProviderIds)
Gets or sets the provider ids.
Definition albuminfo.cpp:236
std::optional< qint32 > m_parentIndexNumber
Definition albuminfo.h:209
bool providerIdsNull() const
Definition albuminfo.cpp:239
void setNameNull()
Definition albuminfo.cpp:178
QList< SongInfo > m_songInfos
Definition albuminfo.h:214
void setIndexNumberNull()
Definition albuminfo.cpp:269
void setAlbumArtists(QStringList newAlbumArtists)
Gets or sets the album artist.
Definition albuminfo.cpp:307
QDateTime m_premiereDate
Definition albuminfo.h:210
bool originalTitleNull() const
Definition albuminfo.cpp:187
QString m_metadataCountryCode
Definition albuminfo.h:205
void setIsAutomated(bool newIsAutomated)
Definition albuminfo.cpp:301
bool isAutomated() const
Definition albuminfo.cpp:299
std::optional< qint32 > m_year
Definition albuminfo.h:207
QStringList m_albumArtists
Definition albuminfo.h:212
void setPremiereDate(QDateTime newPremiereDate)
Definition albuminfo.cpp:288
QString originalTitle() const
Gets or sets the original title.
Definition albuminfo.cpp:182
void setPathNull()
Definition albuminfo.cpp:204
bool parentIndexNumberNull() const
Definition albuminfo.cpp:278
void setIndexNumber(std::optional< qint32 > newIndexNumber)
Definition albuminfo.cpp:262
void setPath(QString newPath)
Gets or sets the path.
Definition albuminfo.cpp:197
static AlbumInfo fromJson(QJsonObject source)
Definition albuminfo.cpp:84
void setParentIndexNumber(std::optional< qint32 > newParentIndexNumber)
Definition albuminfo.cpp:275
QString name() const
Gets or sets the name.
Definition albuminfo.cpp:169
QString m_metadataLanguage
Definition albuminfo.h:204
void setPremiereDateNull()
Definition albuminfo.cpp:295
QString metadataLanguage() const
Gets or sets the metadata language.
Definition albuminfo.cpp:208
void setOriginalTitleNull()
Definition albuminfo.cpp:191
QString path() const
Gets or sets the path.
Definition albuminfo.cpp:195
bool indexNumberNull() const
Definition albuminfo.cpp:265
AlbumInfo(bool isAutomated, QStringList albumArtists, QJsonObject artistProviderIds, QList< SongInfo > songInfos)
Definition albuminfo.cpp:36
void setMetadataCountryCode(QString newMetadataCountryCode)
Gets or sets the metadata country code.
Definition albuminfo.cpp:223
void setYearNull()
Definition albuminfo.cpp:256
void replaceData(AlbumInfo &other)
Definition albuminfo.cpp:67
std::optional< qint32 > indexNumber() const
Definition albuminfo.cpp:260
void setName(QString newName)
Gets or sets the name.
Definition albuminfo.cpp:171
QJsonObject m_providerIds
Definition albuminfo.h:206
void setParentIndexNumberNull()
Definition albuminfo.cpp:282
bool pathNull() const
Definition albuminfo.cpp:200
QString m_originalTitle
Definition albuminfo.h:202
bool metadataLanguageNull() const
Definition albuminfo.cpp:213
Definition mediaplayer2.h:20
Contains auto-generated Data Transfer Objects for the Jellyfin HTTP API.
Definition accessschedule.h:128
Jellyfin::DTO::AlbumInfo AlbumInfo
Definition albuminfo.h:226
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