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

#include <mediaurl.h>

Public Member Functions

 MediaUrl ()
 
 MediaUrl (const MediaUrl &other)
 
void replaceData (MediaUrl &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString url () const
 
void setUrl (QString newUrl)
 
bool urlNull () const
 
void setUrlNull ()
 
QString name () const
 
void setName (QString newName)
 
bool nameNull () const
 
void setNameNull ()
 

Static Public Member Functions

static MediaUrl fromJson (QJsonObject source)
 

Protected Attributes

QString m_url
 
QString m_name
 

Constructor & Destructor Documentation

◆ MediaUrl() [1/2]

Jellyfin::DTO::MediaUrl::MediaUrl ( )

◆ MediaUrl() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ name()

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

◆ nameNull()

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

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setName()

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

◆ setNameNull()

void Jellyfin::DTO::MediaUrl::setNameNull ( )

◆ setUrl()

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

◆ setUrlNull()

void Jellyfin::DTO::MediaUrl::setUrlNull ( )

◆ toJson()

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

◆ url()

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

◆ urlNull()

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

Member Data Documentation

◆ m_name

QString Jellyfin::DTO::MediaUrl::m_name
protected

◆ m_url

QString Jellyfin::DTO::MediaUrl::m_url
protected

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