30#ifndef JELLYFIN_DTO_ALBUMINFO_H
31#define JELLYFIN_DTO_ALBUMINFO_H
67 QJsonObject
toJson()
const;
128 std::optional<qint32>
year()
const;
132 void setYear(std::optional<qint32> newYear);
198 std::optional<qint32>
m_year = std::nullopt;
Definition albuminfo.h:52
void setSongInfos(QList< SongInfo > newSongInfos)
Definition albuminfo.cpp:318
void setArtistProviderIdsNull()
Definition albuminfo.cpp:312
QJsonObject providerIds() const
Gets or sets the provider ids.
Definition albuminfo.cpp:219
QString m_path
Definition albuminfo.h:194
QString m_name
Definition albuminfo.h:193
QJsonObject toJson() const
Definition albuminfo.cpp:100
std::optional< qint32 > m_indexNumber
Definition albuminfo.h:199
bool metadataCountryCodeNull() const
Definition albuminfo.cpp:211
QJsonObject m_artistProviderIds
Definition albuminfo.h:204
void setFromJson(QJsonObject source)
Definition albuminfo.cpp:83
void setYear(std::optional< qint32 > newYear)
Gets or sets the year.
Definition albuminfo.cpp:234
void setMetadataCountryCodeNull()
Definition albuminfo.cpp:215
void setMetadataLanguage(QString newMetadataLanguage)
Gets or sets the metadata language.
Definition albuminfo.cpp:195
void setArtistProviderIds(QJsonObject newArtistProviderIds)
Gets or sets the artist provider ids.
Definition albuminfo.cpp:305
bool yearNull() const
Definition albuminfo.cpp:237
QDateTime premiereDate() const
Definition albuminfo.cpp:271
bool premiereDateNull() const
Definition albuminfo.cpp:276
void setProviderIdsNull()
Definition albuminfo.cpp:228
QJsonObject artistProviderIds() const
Gets or sets the artist provider ids.
Definition albuminfo.cpp:303
void setAlbumArtistsNull()
Definition albuminfo.cpp:299
bool nameNull() const
Definition albuminfo.cpp:172
QString metadataCountryCode() const
Gets or sets the metadata country code.
Definition albuminfo.cpp:206
QStringList albumArtists() const
Gets or sets the album artist.
Definition albuminfo.cpp:290
std::optional< qint32 > parentIndexNumber() const
Definition albuminfo.cpp:258
QList< SongInfo > songInfos() const
Definition albuminfo.cpp:316
void setMetadataLanguageNull()
Definition albuminfo.cpp:202
bool m_isAutomated
Definition albuminfo.h:202
bool albumArtistsNull() const
Definition albuminfo.cpp:295
std::optional< qint32 > year() const
Gets or sets the year.
Definition albuminfo.cpp:232
void setProviderIds(QJsonObject newProviderIds)
Gets or sets the provider ids.
Definition albuminfo.cpp:221
std::optional< qint32 > m_parentIndexNumber
Definition albuminfo.h:200
bool providerIdsNull() const
Definition albuminfo.cpp:224
void setNameNull()
Definition albuminfo.cpp:176
QList< SongInfo > m_songInfos
Definition albuminfo.h:205
void setIndexNumberNull()
Definition albuminfo.cpp:254
void setAlbumArtists(QStringList newAlbumArtists)
Gets or sets the album artist.
Definition albuminfo.cpp:292
QDateTime m_premiereDate
Definition albuminfo.h:201
bool songInfosNull() const
Definition albuminfo.cpp:321
bool artistProviderIdsNull() const
Definition albuminfo.cpp:308
QString m_metadataCountryCode
Definition albuminfo.h:196
void setIsAutomated(bool newIsAutomated)
Definition albuminfo.cpp:286
bool isAutomated() const
Definition albuminfo.cpp:284
std::optional< qint32 > m_year
Definition albuminfo.h:198
QStringList m_albumArtists
Definition albuminfo.h:203
void setPremiereDate(QDateTime newPremiereDate)
Definition albuminfo.cpp:273
void setSongInfosNull()
Definition albuminfo.cpp:325
void setPathNull()
Definition albuminfo.cpp:189
bool parentIndexNumberNull() const
Definition albuminfo.cpp:263
void setIndexNumber(std::optional< qint32 > newIndexNumber)
Definition albuminfo.cpp:247
void setPath(QString newPath)
Gets or sets the path.
Definition albuminfo.cpp:182
static AlbumInfo fromJson(QJsonObject source)
Definition albuminfo.cpp:76
void setParentIndexNumber(std::optional< qint32 > newParentIndexNumber)
Definition albuminfo.cpp:260
QString name() const
Gets or sets the name.
Definition albuminfo.cpp:167
QString m_metadataLanguage
Definition albuminfo.h:195
void setPremiereDateNull()
Definition albuminfo.cpp:280
QString metadataLanguage() const
Gets or sets the metadata language.
Definition albuminfo.cpp:193
QString path() const
Gets or sets the path.
Definition albuminfo.cpp:180
bool indexNumberNull() const
Definition albuminfo.cpp:250
void setMetadataCountryCode(QString newMetadataCountryCode)
Gets or sets the metadata country code.
Definition albuminfo.cpp:208
void setYearNull()
Definition albuminfo.cpp:241
void replaceData(AlbumInfo &other)
Definition albuminfo.cpp:60
std::optional< qint32 > indexNumber() const
Definition albuminfo.cpp:245
void setName(QString newName)
Gets or sets the name.
Definition albuminfo.cpp:169
QJsonObject m_providerIds
Definition albuminfo.h:197
void setParentIndexNumberNull()
Definition albuminfo.cpp:267
bool pathNull() const
Definition albuminfo.cpp:185
bool metadataLanguageNull() const
Definition albuminfo.cpp:198
Definition mediaplayer2.h:20
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