30#ifndef JELLYFIN_DTO_ARTISTINFO_H
31#define JELLYFIN_DTO_ARTISTINFO_H
67 QJsonObject
toJson()
const;
128 std::optional<qint32>
year()
const;
132 void setYear(std::optional<qint32> newYear);
176 std::optional<qint32>
m_year = std::nullopt;
Definition artistinfo.h:52
QJsonObject toJson() const
Definition artistinfo.cpp:94
void replaceData(ArtistInfo &other)
Definition artistinfo.cpp:58
QString m_metadataLanguage
Definition artistinfo.h:173
std::optional< qint32 > m_year
Definition artistinfo.h:176
void setPath(QString newPath)
Gets or sets the path.
Definition artistinfo.cpp:166
bool metadataCountryCodeNull() const
Definition artistinfo.cpp:195
bool m_isAutomated
Definition artistinfo.h:180
QString path() const
Gets or sets the path.
Definition artistinfo.cpp:164
QString m_metadataCountryCode
Definition artistinfo.h:174
void setName(QString newName)
Gets or sets the name.
Definition artistinfo.cpp:153
QJsonObject m_providerIds
Definition artistinfo.h:175
std::optional< qint32 > m_parentIndexNumber
Definition artistinfo.h:178
bool isAutomated() const
Definition artistinfo.cpp:268
QList< SongInfo > songInfos() const
Definition artistinfo.cpp:274
void setMetadataLanguage(QString newMetadataLanguage)
Gets or sets the metadata language.
Definition artistinfo.cpp:179
QString name() const
Gets or sets the name.
Definition artistinfo.cpp:151
void setPathNull()
Definition artistinfo.cpp:173
bool parentIndexNumberNull() const
Definition artistinfo.cpp:247
std::optional< qint32 > parentIndexNumber() const
Definition artistinfo.cpp:242
bool pathNull() const
Definition artistinfo.cpp:169
void setPremiereDate(QDateTime newPremiereDate)
Definition artistinfo.cpp:257
void setMetadataLanguageNull()
Definition artistinfo.cpp:186
void setPremiereDateNull()
Definition artistinfo.cpp:264
QString m_path
Definition artistinfo.h:172
void setNameNull()
Definition artistinfo.cpp:160
bool metadataLanguageNull() const
Definition artistinfo.cpp:182
void setIsAutomated(bool newIsAutomated)
Definition artistinfo.cpp:270
void setSongInfosNull()
Definition artistinfo.cpp:283
void setMetadataCountryCodeNull()
Definition artistinfo.cpp:199
std::optional< qint32 > year() const
Gets or sets the year.
Definition artistinfo.cpp:216
void setSongInfos(QList< SongInfo > newSongInfos)
Definition artistinfo.cpp:276
void setProviderIdsNull()
Definition artistinfo.cpp:212
bool premiereDateNull() const
Definition artistinfo.cpp:260
void setProviderIds(QJsonObject newProviderIds)
Gets or sets the provider ids.
Definition artistinfo.cpp:205
std::optional< qint32 > m_indexNumber
Definition artistinfo.h:177
void setIndexNumber(std::optional< qint32 > newIndexNumber)
Definition artistinfo.cpp:231
QList< SongInfo > m_songInfos
Definition artistinfo.h:181
QJsonObject providerIds() const
Gets or sets the provider ids.
Definition artistinfo.cpp:203
std::optional< qint32 > indexNumber() const
Definition artistinfo.cpp:229
bool indexNumberNull() const
Definition artistinfo.cpp:234
void setFromJson(QJsonObject source)
Definition artistinfo.cpp:79
void setParentIndexNumber(std::optional< qint32 > newParentIndexNumber)
Definition artistinfo.cpp:244
bool yearNull() const
Definition artistinfo.cpp:221
void setParentIndexNumberNull()
Definition artistinfo.cpp:251
bool nameNull() const
Definition artistinfo.cpp:156
QString m_name
Definition artistinfo.h:171
void setYear(std::optional< qint32 > newYear)
Gets or sets the year.
Definition artistinfo.cpp:218
void setYearNull()
Definition artistinfo.cpp:225
QString metadataLanguage() const
Gets or sets the metadata language.
Definition artistinfo.cpp:177
void setIndexNumberNull()
Definition artistinfo.cpp:238
bool songInfosNull() const
Definition artistinfo.cpp:279
void setMetadataCountryCode(QString newMetadataCountryCode)
Gets or sets the metadata country code.
Definition artistinfo.cpp:192
bool providerIdsNull() const
Definition artistinfo.cpp:208
QDateTime m_premiereDate
Definition artistinfo.h:179
QString metadataCountryCode() const
Gets or sets the metadata country code.
Definition artistinfo.cpp:190
QDateTime premiereDate() const
Definition artistinfo.cpp:255
static ArtistInfo fromJson(QJsonObject source)
Definition artistinfo.cpp:72
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