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