Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
Loading...
Searching...
No Matches
Jellyfin::DTO::ExternalIdInfo Class Reference

#include <externalidinfo.h>

Public Member Functions

 ExternalIdInfo (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).
 
bool nameNull () const
 
void setNameNull ()
 
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.
 
bool keyNull () const
 
void setKeyNull ()
 
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
 

Constructor & Destructor Documentation

◆ ExternalIdInfo() [1/2]

Jellyfin::DTO::ExternalIdInfo::ExternalIdInfo ( ExternalIdMediaType type)

◆ ExternalIdInfo() [2/2]

Jellyfin::DTO::ExternalIdInfo::ExternalIdInfo ( const ExternalIdInfo & other)

Member Function Documentation

◆ fromJson()

ExternalIdInfo Jellyfin::DTO::ExternalIdInfo::fromJson ( QJsonObject source)
static

◆ key()

QString Jellyfin::DTO::ExternalIdInfo::key ( ) const

Gets or sets the unique key for this id. This key should be unique across all providers.

◆ keyNull()

bool Jellyfin::DTO::ExternalIdInfo::keyNull ( ) const

◆ name()

QString Jellyfin::DTO::ExternalIdInfo::name ( ) const

Gets or sets the display name of the external id provider (IE: IMDB, MusicBrainz, etc).

◆ nameNull()

bool Jellyfin::DTO::ExternalIdInfo::nameNull ( ) const

◆ replaceData()

void Jellyfin::DTO::ExternalIdInfo::replaceData ( ExternalIdInfo & other)

Replaces the data being hold by this class with that of the other.

◆ setFromJson()

void Jellyfin::DTO::ExternalIdInfo::setFromJson ( QJsonObject source)

◆ setKey()

void Jellyfin::DTO::ExternalIdInfo::setKey ( QString newKey)

Gets or sets the unique key for this id. This key should be unique across all providers.

◆ setKeyNull()

void Jellyfin::DTO::ExternalIdInfo::setKeyNull ( )

◆ setName()

void Jellyfin::DTO::ExternalIdInfo::setName ( QString newName)

Gets or sets the display name of the external id provider (IE: IMDB, MusicBrainz, etc).

◆ setNameNull()

void Jellyfin::DTO::ExternalIdInfo::setNameNull ( )

◆ setType()

void Jellyfin::DTO::ExternalIdInfo::setType ( ExternalIdMediaType newType)

◆ setUrlFormatString()

void Jellyfin::DTO::ExternalIdInfo::setUrlFormatString ( QString newUrlFormatString)

Gets or sets the URL format string.

◆ setUrlFormatStringNull()

void Jellyfin::DTO::ExternalIdInfo::setUrlFormatStringNull ( )

◆ toJson()

QJsonObject Jellyfin::DTO::ExternalIdInfo::toJson ( ) const

◆ type()

ExternalIdMediaType Jellyfin::DTO::ExternalIdInfo::type ( ) const

◆ urlFormatString()

QString Jellyfin::DTO::ExternalIdInfo::urlFormatString ( ) const

Gets or sets the URL format string.

◆ urlFormatStringNull()

bool Jellyfin::DTO::ExternalIdInfo::urlFormatStringNull ( ) const

Member Data Documentation

◆ m_key

QString Jellyfin::DTO::ExternalIdInfo::m_key
protected

◆ m_name

QString Jellyfin::DTO::ExternalIdInfo::m_name
protected

◆ m_type

ExternalIdMediaType Jellyfin::DTO::ExternalIdInfo::m_type
protected

◆ m_urlFormatString

QString Jellyfin::DTO::ExternalIdInfo::m_urlFormatString
protected

The documentation for this class was generated from the following files: