30#ifndef JELLYFIN_DTO_EXTERNALIDINFO_H
31#define JELLYFIN_DTO_EXTERNALIDINFO_H
66 QJsonObject
toJson()
const;
85 void setKey(QString newKey);
An Api client for Jellyfin. Handles requests and authentication.
Definition apiclient.h:90
Definition externalidinfo.h:49
QJsonObject toJson() const
Definition externalidinfo.cpp:77
void setName(QString newName)
Gets or sets the display name of the external id provider (IE: IMDB, MusicBrainz, etc).
Definition externalidinfo.cpp:93
QString m_urlFormatString
Definition externalidinfo.h:108
ExternalIdMediaType type() const
Definition externalidinfo.cpp:103
void setType(ExternalIdMediaType newType)
Definition externalidinfo.cpp:105
static ExternalIdInfo fromJson(QJsonObject source)
Definition externalidinfo.cpp:62
void setFromJson(QJsonObject source)
Definition externalidinfo.cpp:69
QString urlFormatString() const
Gets or sets the URL format string.
Definition externalidinfo.cpp:109
QString m_key
Definition externalidinfo.h:106
void setUrlFormatStringNull()
Definition externalidinfo.cpp:118
QString name() const
Gets or sets the display name of the external id provider (IE: IMDB, MusicBrainz, etc).
Definition externalidinfo.cpp:91
ExternalIdMediaType m_type
Definition externalidinfo.h:107
ExternalIdInfo(QString name, QString key, ExternalIdMediaType type)
Definition externalidinfo.cpp:36
void setKey(QString newKey)
Gets or sets the unique key for this id. This key should be unique across all providers.
Definition externalidinfo.cpp:99
void setUrlFormatString(QString newUrlFormatString)
Gets or sets the URL format string.
Definition externalidinfo.cpp:111
QString m_name
Definition externalidinfo.h:105
void replaceData(ExternalIdInfo &other)
Definition externalidinfo.cpp:55
QString key() const
Gets or sets the unique key for this id. This key should be unique across all providers.
Definition externalidinfo.cpp:97
bool urlFormatStringNull() const
Definition externalidinfo.cpp:114
Contains auto-generated Data Transfer Objects for the Jellyfin HTTP API.
ExternalIdMediaTypeClass::Value ExternalIdMediaType
Definition externalidmediatype.h:70
Definition accessschedule.h:128
Jellyfin::DTO::ExternalIdInfo ExternalIdInfo
Definition externalidinfo.h:120
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