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

#include <livetvserviceinfo.h>

Public Member Functions

 LiveTvServiceInfo (LiveTvServiceStatus status, bool hasUpdateAvailable, bool isVisible)
 
 LiveTvServiceInfo (const LiveTvServiceInfo &other)
 
void replaceData (LiveTvServiceInfo &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 homePageUrl () const
 Gets or sets the home page URL.
 
void setHomePageUrl (QString newHomePageUrl)
 Gets or sets the home page URL.
 
bool homePageUrlNull () const
 
void setHomePageUrlNull ()
 
LiveTvServiceStatus status () const
 
void setStatus (LiveTvServiceStatus newStatus)
 
QString statusMessage () const
 Gets or sets the status message.
 
void setStatusMessage (QString newStatusMessage)
 Gets or sets the status message.
 
bool statusMessageNull () const
 
void setStatusMessageNull ()
 
QString version () const
 Gets or sets the version.
 
void setVersion (QString newVersion)
 Gets or sets the version.
 
bool versionNull () const
 
void setVersionNull ()
 
bool hasUpdateAvailable () const
 Gets or sets a value indicating whether this instance has update available.
 
void setHasUpdateAvailable (bool newHasUpdateAvailable)
 Gets or sets a value indicating whether this instance has update available.
 
bool isVisible () const
 Gets or sets a value indicating whether this instance is visible.
 
void setIsVisible (bool newIsVisible)
 Gets or sets a value indicating whether this instance is visible.
 
QStringList tuners () const
 
void setTuners (QStringList newTuners)
 
bool tunersNull () const
 
void setTunersNull ()
 

Static Public Member Functions

static LiveTvServiceInfo fromJson (QJsonObject source)
 

Protected Attributes

QString m_name
 
QString m_homePageUrl
 
LiveTvServiceStatus m_status
 
QString m_statusMessage
 
QString m_version
 
bool m_hasUpdateAvailable
 
bool m_isVisible
 
QStringList m_tuners
 

Constructor & Destructor Documentation

◆ LiveTvServiceInfo() [1/2]

Jellyfin::DTO::LiveTvServiceInfo::LiveTvServiceInfo ( LiveTvServiceStatus status,
bool hasUpdateAvailable,
bool isVisible )

◆ LiveTvServiceInfo() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ hasUpdateAvailable()

bool Jellyfin::DTO::LiveTvServiceInfo::hasUpdateAvailable ( ) const

Gets or sets a value indicating whether this instance has update available.

◆ homePageUrl()

QString Jellyfin::DTO::LiveTvServiceInfo::homePageUrl ( ) const

Gets or sets the home page URL.

◆ homePageUrlNull()

bool Jellyfin::DTO::LiveTvServiceInfo::homePageUrlNull ( ) const

◆ isVisible()

bool Jellyfin::DTO::LiveTvServiceInfo::isVisible ( ) const

Gets or sets a value indicating whether this instance is visible.

◆ name()

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

Gets or sets the name.

◆ nameNull()

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

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setHasUpdateAvailable()

void Jellyfin::DTO::LiveTvServiceInfo::setHasUpdateAvailable ( bool newHasUpdateAvailable)

Gets or sets a value indicating whether this instance has update available.

◆ setHomePageUrl()

void Jellyfin::DTO::LiveTvServiceInfo::setHomePageUrl ( QString newHomePageUrl)

Gets or sets the home page URL.

◆ setHomePageUrlNull()

void Jellyfin::DTO::LiveTvServiceInfo::setHomePageUrlNull ( )

◆ setIsVisible()

void Jellyfin::DTO::LiveTvServiceInfo::setIsVisible ( bool newIsVisible)

Gets or sets a value indicating whether this instance is visible.

◆ setName()

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

Gets or sets the name.

◆ setNameNull()

void Jellyfin::DTO::LiveTvServiceInfo::setNameNull ( )

◆ setStatus()

void Jellyfin::DTO::LiveTvServiceInfo::setStatus ( LiveTvServiceStatus newStatus)

◆ setStatusMessage()

void Jellyfin::DTO::LiveTvServiceInfo::setStatusMessage ( QString newStatusMessage)

Gets or sets the status message.

◆ setStatusMessageNull()

void Jellyfin::DTO::LiveTvServiceInfo::setStatusMessageNull ( )

◆ setTuners()

void Jellyfin::DTO::LiveTvServiceInfo::setTuners ( QStringList newTuners)

◆ setTunersNull()

void Jellyfin::DTO::LiveTvServiceInfo::setTunersNull ( )

◆ setVersion()

void Jellyfin::DTO::LiveTvServiceInfo::setVersion ( QString newVersion)

Gets or sets the version.

◆ setVersionNull()

void Jellyfin::DTO::LiveTvServiceInfo::setVersionNull ( )

◆ status()

LiveTvServiceStatus Jellyfin::DTO::LiveTvServiceInfo::status ( ) const

◆ statusMessage()

QString Jellyfin::DTO::LiveTvServiceInfo::statusMessage ( ) const

Gets or sets the status message.

◆ statusMessageNull()

bool Jellyfin::DTO::LiveTvServiceInfo::statusMessageNull ( ) const

◆ toJson()

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

◆ tuners()

QStringList Jellyfin::DTO::LiveTvServiceInfo::tuners ( ) const

◆ tunersNull()

bool Jellyfin::DTO::LiveTvServiceInfo::tunersNull ( ) const

◆ version()

QString Jellyfin::DTO::LiveTvServiceInfo::version ( ) const

Gets or sets the version.

◆ versionNull()

bool Jellyfin::DTO::LiveTvServiceInfo::versionNull ( ) const

Member Data Documentation

◆ m_hasUpdateAvailable

bool Jellyfin::DTO::LiveTvServiceInfo::m_hasUpdateAvailable
protected

◆ m_homePageUrl

QString Jellyfin::DTO::LiveTvServiceInfo::m_homePageUrl
protected

◆ m_isVisible

bool Jellyfin::DTO::LiveTvServiceInfo::m_isVisible
protected

◆ m_name

QString Jellyfin::DTO::LiveTvServiceInfo::m_name
protected

◆ m_status

LiveTvServiceStatus Jellyfin::DTO::LiveTvServiceInfo::m_status
protected

◆ m_statusMessage

QString Jellyfin::DTO::LiveTvServiceInfo::m_statusMessage
protected

◆ m_tuners

QStringList Jellyfin::DTO::LiveTvServiceInfo::m_tuners
protected

◆ m_version

QString Jellyfin::DTO::LiveTvServiceInfo::m_version
protected

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