30#ifndef JELLYFIN_DTO_MOVIEINFO_H
31#define JELLYFIN_DTO_MOVIEINFO_H
64 QJsonObject
toJson()
const;
125 std::optional<qint32>
year()
const;
129 void setYear(std::optional<qint32> newYear);
166 std::optional<qint32>
m_year = std::nullopt;
Definition movieinfo.h:49
void setFromJson(QJsonObject source)
Definition movieinfo.cpp:77
std::optional< qint32 > m_year
Definition movieinfo.h:166
QJsonObject providerIds() const
Gets or sets the provider ids.
Definition movieinfo.cpp:195
std::optional< qint32 > indexNumber() const
Definition movieinfo.cpp:221
void setIsAutomated(bool newIsAutomated)
Definition movieinfo.cpp:262
bool metadataCountryCodeNull() const
Definition movieinfo.cpp:187
QJsonObject m_providerIds
Definition movieinfo.h:165
void setMetadataLanguage(QString newMetadataLanguage)
Gets or sets the metadata language.
Definition movieinfo.cpp:171
void setPremiereDate(QDateTime newPremiereDate)
Definition movieinfo.cpp:249
QString m_path
Definition movieinfo.h:162
void setIndexNumberNull()
Definition movieinfo.cpp:230
bool providerIdsNull() const
Definition movieinfo.cpp:200
bool pathNull() const
Definition movieinfo.cpp:161
QString path() const
Gets or sets the path.
Definition movieinfo.cpp:156
std::optional< qint32 > m_indexNumber
Definition movieinfo.h:167
QDateTime m_premiereDate
Definition movieinfo.h:169
QDateTime premiereDate() const
Definition movieinfo.cpp:247
void setName(QString newName)
Gets or sets the name.
Definition movieinfo.cpp:145
void setMetadataCountryCode(QString newMetadataCountryCode)
Gets or sets the metadata country code.
Definition movieinfo.cpp:184
void setParentIndexNumberNull()
Definition movieinfo.cpp:243
static MovieInfo fromJson(QJsonObject source)
Definition movieinfo.cpp:70
bool nameNull() const
Definition movieinfo.cpp:148
bool metadataLanguageNull() const
Definition movieinfo.cpp:174
void setIndexNumber(std::optional< qint32 > newIndexNumber)
Definition movieinfo.cpp:223
void setPathNull()
Definition movieinfo.cpp:165
std::optional< qint32 > parentIndexNumber() const
Definition movieinfo.cpp:234
bool indexNumberNull() const
Definition movieinfo.cpp:226
QString name() const
Gets or sets the name.
Definition movieinfo.cpp:143
void setProviderIds(QJsonObject newProviderIds)
Gets or sets the provider ids.
Definition movieinfo.cpp:197
void replaceData(MovieInfo &other)
Definition movieinfo.cpp:57
QJsonObject toJson() const
Definition movieinfo.cpp:91
void setMetadataLanguageNull()
Definition movieinfo.cpp:178
void setYearNull()
Definition movieinfo.cpp:217
void setMetadataCountryCodeNull()
Definition movieinfo.cpp:191
void setProviderIdsNull()
Definition movieinfo.cpp:204
std::optional< qint32 > m_parentIndexNumber
Definition movieinfo.h:168
void setYear(std::optional< qint32 > newYear)
Gets or sets the year.
Definition movieinfo.cpp:210
void setPremiereDateNull()
Definition movieinfo.cpp:256
bool premiereDateNull() const
Definition movieinfo.cpp:252
QString m_name
Definition movieinfo.h:161
bool yearNull() const
Definition movieinfo.cpp:213
void setPath(QString newPath)
Gets or sets the path.
Definition movieinfo.cpp:158
bool isAutomated() const
Definition movieinfo.cpp:260
void setParentIndexNumber(std::optional< qint32 > newParentIndexNumber)
Definition movieinfo.cpp:236
QString m_metadataLanguage
Definition movieinfo.h:163
QString metadataCountryCode() const
Gets or sets the metadata country code.
Definition movieinfo.cpp:182
std::optional< qint32 > year() const
Gets or sets the year.
Definition movieinfo.cpp:208
bool parentIndexNumberNull() const
Definition movieinfo.cpp:239
QString metadataLanguage() const
Gets or sets the metadata language.
Definition movieinfo.cpp:169
QString m_metadataCountryCode
Definition movieinfo.h:164
void setNameNull()
Definition movieinfo.cpp:152
bool m_isAutomated
Definition movieinfo.h:170
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