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