30#ifndef JELLYFIN_DTO_ARTISTINFO_H
31#define JELLYFIN_DTO_ARTISTINFO_H
68 QJsonObject
toJson()
const;
140 std::optional<qint32>
year()
const;
144 void setYear(std::optional<qint32> newYear);
187 std::optional<qint32>
m_year = std::nullopt;
An Api client for Jellyfin. Handles requests and authentication.
Definition apiclient.h:90
Definition artistinfo.h:52
QJsonObject toJson() const
Definition artistinfo.cpp:99
void replaceData(ArtistInfo &other)
Definition artistinfo.cpp:61
QString m_metadataLanguage
Definition artistinfo.h:184
std::optional< qint32 > m_year
Definition artistinfo.h:187
void setPath(QString newPath)
Gets or sets the path.
Definition artistinfo.cpp:185
bool metadataCountryCodeNull() const
Definition artistinfo.cpp:214
bool m_isAutomated
Definition artistinfo.h:191
QString path() const
Gets or sets the path.
Definition artistinfo.cpp:183
QString m_metadataCountryCode
Definition artistinfo.h:185
void setName(QString newName)
Gets or sets the name.
Definition artistinfo.cpp:159
QJsonObject m_providerIds
Definition artistinfo.h:186
std::optional< qint32 > m_parentIndexNumber
Definition artistinfo.h:189
void setOriginalTitle(QString newOriginalTitle)
Gets or sets the original title.
Definition artistinfo.cpp:172
bool isAutomated() const
Definition artistinfo.cpp:287
QList< SongInfo > songInfos() const
Definition artistinfo.cpp:293
void setMetadataLanguage(QString newMetadataLanguage)
Gets or sets the metadata language.
Definition artistinfo.cpp:198
QString name() const
Gets or sets the name.
Definition artistinfo.cpp:157
QString m_originalTitle
Definition artistinfo.h:182
void setPathNull()
Definition artistinfo.cpp:192
bool parentIndexNumberNull() const
Definition artistinfo.cpp:266
std::optional< qint32 > parentIndexNumber() const
Definition artistinfo.cpp:261
bool pathNull() const
Definition artistinfo.cpp:188
void setPremiereDate(QDateTime newPremiereDate)
Definition artistinfo.cpp:276
void setMetadataLanguageNull()
Definition artistinfo.cpp:205
void setPremiereDateNull()
Definition artistinfo.cpp:283
QString m_path
Definition artistinfo.h:183
void setNameNull()
Definition artistinfo.cpp:166
bool metadataLanguageNull() const
Definition artistinfo.cpp:201
void setOriginalTitleNull()
Definition artistinfo.cpp:179
void setIsAutomated(bool newIsAutomated)
Definition artistinfo.cpp:289
void setMetadataCountryCodeNull()
Definition artistinfo.cpp:218
QString originalTitle() const
Gets or sets the original title.
Definition artistinfo.cpp:170
std::optional< qint32 > year() const
Gets or sets the year.
Definition artistinfo.cpp:235
void setSongInfos(QList< SongInfo > newSongInfos)
Definition artistinfo.cpp:295
void setProviderIdsNull()
Definition artistinfo.cpp:231
bool premiereDateNull() const
Definition artistinfo.cpp:279
void setProviderIds(QJsonObject newProviderIds)
Gets or sets the provider ids.
Definition artistinfo.cpp:224
std::optional< qint32 > m_indexNumber
Definition artistinfo.h:188
void setIndexNumber(std::optional< qint32 > newIndexNumber)
Definition artistinfo.cpp:250
QList< SongInfo > m_songInfos
Definition artistinfo.h:192
QJsonObject providerIds() const
Gets or sets the provider ids.
Definition artistinfo.cpp:222
std::optional< qint32 > indexNumber() const
Definition artistinfo.cpp:248
bool indexNumberNull() const
Definition artistinfo.cpp:253
void setFromJson(QJsonObject source)
Definition artistinfo.cpp:83
void setParentIndexNumber(std::optional< qint32 > newParentIndexNumber)
Definition artistinfo.cpp:263
bool yearNull() const
Definition artistinfo.cpp:240
void setParentIndexNumberNull()
Definition artistinfo.cpp:270
bool nameNull() const
Definition artistinfo.cpp:162
QString m_name
Definition artistinfo.h:181
void setYear(std::optional< qint32 > newYear)
Gets or sets the year.
Definition artistinfo.cpp:237
void setYearNull()
Definition artistinfo.cpp:244
QString metadataLanguage() const
Gets or sets the metadata language.
Definition artistinfo.cpp:196
void setIndexNumberNull()
Definition artistinfo.cpp:257
void setMetadataCountryCode(QString newMetadataCountryCode)
Gets or sets the metadata country code.
Definition artistinfo.cpp:211
bool providerIdsNull() const
Definition artistinfo.cpp:227
QDateTime m_premiereDate
Definition artistinfo.h:190
QString metadataCountryCode() const
Gets or sets the metadata country code.
Definition artistinfo.cpp:209
bool originalTitleNull() const
Definition artistinfo.cpp:175
QDateTime premiereDate() const
Definition artistinfo.cpp:274
ArtistInfo(bool isAutomated, QList< SongInfo > songInfos)
Definition artistinfo.cpp:36
static ArtistInfo fromJson(QJsonObject source)
Definition artistinfo.cpp:76
Definition mediaplayer2.h:20
Contains auto-generated Data Transfer Objects for the Jellyfin HTTP API.
Definition accessschedule.h:128
Jellyfin::DTO::ArtistInfo ArtistInfo
Definition artistinfo.h:204
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