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

#include <externalurl.h>

Public Member Functions

 ExternalUrl ()
 
 ExternalUrl (const ExternalUrl &other)
 
void replaceData (ExternalUrl &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString name () const
 Gets or sets the name.
 
void setName (QString newName)
 Gets or sets the name.
 
bool nameNull () const
 
void setNameNull ()
 
QString url () const
 Gets or sets the type of the item.
 
void setUrl (QString newUrl)
 Gets or sets the type of the item.
 
bool urlNull () const
 
void setUrlNull ()
 

Static Public Member Functions

static ExternalUrl fromJson (QJsonObject source)
 

Protected Attributes

QString m_name
 
QString m_url
 

Constructor & Destructor Documentation

◆ ExternalUrl() [1/2]

Jellyfin::DTO::ExternalUrl::ExternalUrl ( )

◆ ExternalUrl() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ name()

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

Gets or sets the name.

◆ nameNull()

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

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setName()

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

Gets or sets the name.

◆ setNameNull()

void Jellyfin::DTO::ExternalUrl::setNameNull ( )

◆ setUrl()

void Jellyfin::DTO::ExternalUrl::setUrl ( QString newUrl)

Gets or sets the type of the item.

◆ setUrlNull()

void Jellyfin::DTO::ExternalUrl::setUrlNull ( )

◆ toJson()

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

◆ url()

QString Jellyfin::DTO::ExternalUrl::url ( ) const

Gets or sets the type of the item.

◆ urlNull()

bool Jellyfin::DTO::ExternalUrl::urlNull ( ) const

Member Data Documentation

◆ m_name

QString Jellyfin::DTO::ExternalUrl::m_name
protected

◆ m_url

QString Jellyfin::DTO::ExternalUrl::m_url
protected

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