30#ifndef JELLYFIN_DTO_PERSONLOOKUPINFO_H
31#define JELLYFIN_DTO_PERSONLOOKUPINFO_H
64 QJsonObject
toJson()
const;
136 std::optional<qint32>
year()
const;
140 void setYear(std::optional<qint32> newYear);
178 std::optional<qint32>
m_year = std::nullopt;
An Api client for Jellyfin. Handles requests and authentication.
Definition apiclient.h:90
Definition personlookupinfo.h:49
std::optional< qint32 > m_indexNumber
Definition personlookupinfo.h:179
std::optional< qint32 > m_year
Definition personlookupinfo.h:178
bool m_isAutomated
Definition personlookupinfo.h:182
QString name() const
Gets or sets the name.
Definition personlookupinfo.cpp:151
void setMetadataCountryCodeNull()
Definition personlookupinfo.cpp:212
void setYearNull()
Definition personlookupinfo.cpp:238
std::optional< qint32 > indexNumber() const
Definition personlookupinfo.cpp:242
void setPremiereDateNull()
Definition personlookupinfo.cpp:277
bool parentIndexNumberNull() const
Definition personlookupinfo.cpp:260
PersonLookupInfo(bool isAutomated)
Definition personlookupinfo.cpp:36
QString m_metadataCountryCode
Definition personlookupinfo.h:176
void setOriginalTitle(QString newOriginalTitle)
Gets or sets the original title.
Definition personlookupinfo.cpp:166
QJsonObject toJson() const
Definition personlookupinfo.cpp:94
void setPremiereDate(QDateTime newPremiereDate)
Definition personlookupinfo.cpp:270
void setPathNull()
Definition personlookupinfo.cpp:186
void setMetadataLanguage(QString newMetadataLanguage)
Gets or sets the metadata language.
Definition personlookupinfo.cpp:192
QString m_path
Definition personlookupinfo.h:174
QJsonObject m_providerIds
Definition personlookupinfo.h:177
void setProviderIds(QJsonObject newProviderIds)
Gets or sets the provider ids.
Definition personlookupinfo.cpp:218
void setIndexNumber(std::optional< qint32 > newIndexNumber)
Definition personlookupinfo.cpp:244
void setYear(std::optional< qint32 > newYear)
Gets or sets the year.
Definition personlookupinfo.cpp:231
QString path() const
Gets or sets the path.
Definition personlookupinfo.cpp:177
QDateTime m_premiereDate
Definition personlookupinfo.h:181
bool indexNumberNull() const
Definition personlookupinfo.cpp:247
void setPath(QString newPath)
Gets or sets the path.
Definition personlookupinfo.cpp:179
bool premiereDateNull() const
Definition personlookupinfo.cpp:273
void setMetadataLanguageNull()
Definition personlookupinfo.cpp:199
QString metadataCountryCode() const
Gets or sets the metadata country code.
Definition personlookupinfo.cpp:203
bool providerIdsNull() const
Definition personlookupinfo.cpp:221
bool originalTitleNull() const
Definition personlookupinfo.cpp:169
void setMetadataCountryCode(QString newMetadataCountryCode)
Gets or sets the metadata country code.
Definition personlookupinfo.cpp:205
void setName(QString newName)
Gets or sets the name.
Definition personlookupinfo.cpp:153
void setFromJson(QJsonObject source)
Definition personlookupinfo.cpp:79
void setParentIndexNumberNull()
Definition personlookupinfo.cpp:264
QString metadataLanguage() const
Gets or sets the metadata language.
Definition personlookupinfo.cpp:190
QString originalTitle() const
Gets or sets the original title.
Definition personlookupinfo.cpp:164
std::optional< qint32 > parentIndexNumber() const
Definition personlookupinfo.cpp:255
QString m_name
Definition personlookupinfo.h:172
void setNameNull()
Definition personlookupinfo.cpp:160
QJsonObject providerIds() const
Gets or sets the provider ids.
Definition personlookupinfo.cpp:216
QString m_originalTitle
Definition personlookupinfo.h:173
static PersonLookupInfo fromJson(QJsonObject source)
Definition personlookupinfo.cpp:72
void setProviderIdsNull()
Definition personlookupinfo.cpp:225
std::optional< qint32 > year() const
Gets or sets the year.
Definition personlookupinfo.cpp:229
bool nameNull() const
Definition personlookupinfo.cpp:156
void setParentIndexNumber(std::optional< qint32 > newParentIndexNumber)
Definition personlookupinfo.cpp:257
bool metadataCountryCodeNull() const
Definition personlookupinfo.cpp:208
void setIndexNumberNull()
Definition personlookupinfo.cpp:251
QString m_metadataLanguage
Definition personlookupinfo.h:175
std::optional< qint32 > m_parentIndexNumber
Definition personlookupinfo.h:180
bool isAutomated() const
Definition personlookupinfo.cpp:281
void setOriginalTitleNull()
Definition personlookupinfo.cpp:173
bool pathNull() const
Definition personlookupinfo.cpp:182
bool metadataLanguageNull() const
Definition personlookupinfo.cpp:195
void setIsAutomated(bool newIsAutomated)
Definition personlookupinfo.cpp:283
void replaceData(PersonLookupInfo &other)
Definition personlookupinfo.cpp:58
QDateTime premiereDate() const
Definition personlookupinfo.cpp:268
bool yearNull() const
Definition personlookupinfo.cpp:234
Contains auto-generated Data Transfer Objects for the Jellyfin HTTP API.
Definition accessschedule.h:128
AccessSchedule fromJsonValue(const QJsonValue &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:133
Jellyfin::DTO::PersonLookupInfo PersonLookupInfo
Definition personlookupinfo.h:194
QJsonValue toJsonValue(const AccessSchedule &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:139
Definition jsonconvimpl.h:45