![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <externalidinfo.h>
Public Member Functions | |
| ExternalIdInfo (QString name, QString key, ExternalIdMediaType type) | |
| ExternalIdInfo (const ExternalIdInfo &other) | |
| void | replaceData (ExternalIdInfo &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| QString | name () const |
| Gets or sets the display name of the external id provider (IE: IMDB, MusicBrainz, etc). | |
| void | setName (QString newName) |
| Gets or sets the display name of the external id provider (IE: IMDB, MusicBrainz, etc). | |
| QString | key () const |
| Gets or sets the unique key for this id. This key should be unique across all providers. | |
| void | setKey (QString newKey) |
| Gets or sets the unique key for this id. This key should be unique across all providers. | |
| ExternalIdMediaType | type () const |
| void | setType (ExternalIdMediaType newType) |
| QString | urlFormatString () const |
| Gets or sets the URL format string. | |
| void | setUrlFormatString (QString newUrlFormatString) |
| Gets or sets the URL format string. | |
| bool | urlFormatStringNull () const |
| void | setUrlFormatStringNull () |
Static Public Member Functions | |
| static ExternalIdInfo | fromJson (QJsonObject source) |
Protected Attributes | |
| QString | m_name |
| QString | m_key |
| ExternalIdMediaType | m_type |
| QString | m_urlFormatString |
| Jellyfin::DTO::ExternalIdInfo::ExternalIdInfo | ( | QString | name, |
| QString | key, | ||
| ExternalIdMediaType | type ) |
| Jellyfin::DTO::ExternalIdInfo::ExternalIdInfo | ( | const ExternalIdInfo & | other | ) |
|
static |
| QString Jellyfin::DTO::ExternalIdInfo::key | ( | ) | const |
Gets or sets the unique key for this id. This key should be unique across all providers.
| QString Jellyfin::DTO::ExternalIdInfo::name | ( | ) | const |
Gets or sets the display name of the external id provider (IE: IMDB, MusicBrainz, etc).
| void Jellyfin::DTO::ExternalIdInfo::replaceData | ( | ExternalIdInfo & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::ExternalIdInfo::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::ExternalIdInfo::setKey | ( | QString | newKey | ) |
Gets or sets the unique key for this id. This key should be unique across all providers.
| void Jellyfin::DTO::ExternalIdInfo::setName | ( | QString | newName | ) |
Gets or sets the display name of the external id provider (IE: IMDB, MusicBrainz, etc).
| void Jellyfin::DTO::ExternalIdInfo::setType | ( | ExternalIdMediaType | newType | ) |
| void Jellyfin::DTO::ExternalIdInfo::setUrlFormatString | ( | QString | newUrlFormatString | ) |
Gets or sets the URL format string.
| void Jellyfin::DTO::ExternalIdInfo::setUrlFormatStringNull | ( | ) |
| QJsonObject Jellyfin::DTO::ExternalIdInfo::toJson | ( | ) | const |
| ExternalIdMediaType Jellyfin::DTO::ExternalIdInfo::type | ( | ) | const |
| QString Jellyfin::DTO::ExternalIdInfo::urlFormatString | ( | ) | const |
Gets or sets the URL format string.
| bool Jellyfin::DTO::ExternalIdInfo::urlFormatStringNull | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |