30#ifndef JELLYFIN_DTO_SONGINFO_H
31#define JELLYFIN_DTO_SONGINFO_H
66 QJsonObject
toJson()
const;
127 std::optional<qint32>
year()
const;
131 void setYear(std::optional<qint32> newYear);
169 QString
album()
const;
189 std::optional<qint32>
m_year = std::nullopt;
bool metadataLanguageNull() const
Definition songinfo.cpp:198
QString m_path
Definition songinfo.h:185
void setParentIndexNumber(std::optional< qint32 > newParentIndexNumber)
Definition songinfo.cpp:260
bool parentIndexNumberNull() const
Definition songinfo.cpp:263
bool artistsNull() const
Definition songinfo.cpp:321
static SongInfo fromJson(QJsonObject source)
Definition songinfo.cpp:76
void setProviderIdsNull()
Definition songinfo.cpp:228
std::optional< qint32 > m_parentIndexNumber
Definition songinfo.h:191
void setMetadataCountryCode(QString newMetadataCountryCode)
Gets or sets the metadata country code.
Definition songinfo.cpp:208
std::optional< qint32 > year() const
Gets or sets the year.
Definition songinfo.cpp:232
QString m_album
Definition songinfo.h:195
QJsonObject providerIds() const
Gets or sets the provider ids.
Definition songinfo.cpp:219
QJsonObject toJson() const
Definition songinfo.cpp:100
QString album() const
Definition songinfo.cpp:303
bool yearNull() const
Definition songinfo.cpp:237
bool nameNull() const
Definition songinfo.cpp:172
bool isAutomated() const
Definition songinfo.cpp:284
QDateTime m_premiereDate
Definition songinfo.h:192
bool m_isAutomated
Definition songinfo.h:193
void setAlbum(QString newAlbum)
Definition songinfo.cpp:305
void setName(QString newName)
Gets or sets the name.
Definition songinfo.cpp:169
QString name() const
Gets or sets the name.
Definition songinfo.cpp:167
void setAlbumNull()
Definition songinfo.cpp:312
void setMetadataLanguage(QString newMetadataLanguage)
Gets or sets the metadata language.
Definition songinfo.cpp:195
void setYear(std::optional< qint32 > newYear)
Gets or sets the year.
Definition songinfo.cpp:234
void setArtistsNull()
Definition songinfo.cpp:325
bool indexNumberNull() const
Definition songinfo.cpp:250
void setArtists(QStringList newArtists)
Definition songinfo.cpp:318
QString metadataLanguage() const
Gets or sets the metadata language.
Definition songinfo.cpp:193
QStringList m_artists
Definition songinfo.h:196
QStringList albumArtists() const
Definition songinfo.cpp:290
QString path() const
Gets or sets the path.
Definition songinfo.cpp:180
void setPremiereDateNull()
Definition songinfo.cpp:280
void setYearNull()
Definition songinfo.cpp:241
void setMetadataLanguageNull()
Definition songinfo.cpp:202
void setNameNull()
Definition songinfo.cpp:176
bool albumArtistsNull() const
Definition songinfo.cpp:295
std::optional< qint32 > m_year
Definition songinfo.h:189
bool premiereDateNull() const
Definition songinfo.cpp:276
void setFromJson(QJsonObject source)
Definition songinfo.cpp:83
void setPremiereDate(QDateTime newPremiereDate)
Definition songinfo.cpp:273
void setMetadataCountryCodeNull()
Definition songinfo.cpp:215
std::optional< qint32 > m_indexNumber
Definition songinfo.h:190
QJsonObject m_providerIds
Definition songinfo.h:188
bool albumNull() const
Definition songinfo.cpp:308
QStringList m_albumArtists
Definition songinfo.h:194
bool metadataCountryCodeNull() const
Definition songinfo.cpp:211
QString metadataCountryCode() const
Gets or sets the metadata country code.
Definition songinfo.cpp:206
void setIndexNumber(std::optional< qint32 > newIndexNumber)
Definition songinfo.cpp:247
QString m_metadataLanguage
Definition songinfo.h:186
void setAlbumArtists(QStringList newAlbumArtists)
Definition songinfo.cpp:292
void setIsAutomated(bool newIsAutomated)
Definition songinfo.cpp:286
QString m_name
Definition songinfo.h:184
void setIndexNumberNull()
Definition songinfo.cpp:254
bool pathNull() const
Definition songinfo.cpp:185
bool providerIdsNull() const
Definition songinfo.cpp:224
QDateTime premiereDate() const
Definition songinfo.cpp:271
QString m_metadataCountryCode
Definition songinfo.h:187
void setParentIndexNumberNull()
Definition songinfo.cpp:267
std::optional< qint32 > parentIndexNumber() const
Definition songinfo.cpp:258
void setAlbumArtistsNull()
Definition songinfo.cpp:299
std::optional< qint32 > indexNumber() const
Definition songinfo.cpp:245
QStringList artists() const
Definition songinfo.cpp:316
void replaceData(SongInfo &other)
Definition songinfo.cpp:60
void setProviderIds(QJsonObject newProviderIds)
Gets or sets the provider ids.
Definition songinfo.cpp:221
void setPath(QString newPath)
Gets or sets the path.
Definition songinfo.cpp:182
void setPathNull()
Definition songinfo.cpp:189
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