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

#include <livetvinfo.h>

Public Member Functions

 LiveTvInfo (bool isEnabled)
 
 LiveTvInfo (const LiveTvInfo &other)
 
void replaceData (LiveTvInfo &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QList< LiveTvServiceInfoservices () const
 Gets or sets the services.
 
void setServices (QList< LiveTvServiceInfo > newServices)
 Gets or sets the services.
 
bool servicesNull () const
 
void setServicesNull ()
 
bool isEnabled () const
 Gets or sets a value indicating whether this instance is enabled.
 
void setIsEnabled (bool newIsEnabled)
 Gets or sets a value indicating whether this instance is enabled.
 
QStringList enabledUsers () const
 Gets or sets the enabled users.
 
void setEnabledUsers (QStringList newEnabledUsers)
 Gets or sets the enabled users.
 
bool enabledUsersNull () const
 
void setEnabledUsersNull ()
 

Static Public Member Functions

static LiveTvInfo fromJson (QJsonObject source)
 

Protected Attributes

QList< LiveTvServiceInfom_services
 
bool m_isEnabled
 
QStringList m_enabledUsers
 

Constructor & Destructor Documentation

◆ LiveTvInfo() [1/2]

Jellyfin::DTO::LiveTvInfo::LiveTvInfo ( bool isEnabled)

◆ LiveTvInfo() [2/2]

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

Member Function Documentation

◆ enabledUsers()

QStringList Jellyfin::DTO::LiveTvInfo::enabledUsers ( ) const

Gets or sets the enabled users.

◆ enabledUsersNull()

bool Jellyfin::DTO::LiveTvInfo::enabledUsersNull ( ) const

◆ fromJson()

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

◆ isEnabled()

bool Jellyfin::DTO::LiveTvInfo::isEnabled ( ) const

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

◆ replaceData()

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

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

◆ services()

QList< LiveTvServiceInfo > Jellyfin::DTO::LiveTvInfo::services ( ) const

Gets or sets the services.

◆ servicesNull()

bool Jellyfin::DTO::LiveTvInfo::servicesNull ( ) const

◆ setEnabledUsers()

void Jellyfin::DTO::LiveTvInfo::setEnabledUsers ( QStringList newEnabledUsers)

Gets or sets the enabled users.

◆ setEnabledUsersNull()

void Jellyfin::DTO::LiveTvInfo::setEnabledUsersNull ( )

◆ setFromJson()

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

◆ setIsEnabled()

void Jellyfin::DTO::LiveTvInfo::setIsEnabled ( bool newIsEnabled)

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

◆ setServices()

void Jellyfin::DTO::LiveTvInfo::setServices ( QList< LiveTvServiceInfo > newServices)

Gets or sets the services.

◆ setServicesNull()

void Jellyfin::DTO::LiveTvInfo::setServicesNull ( )

◆ toJson()

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

Member Data Documentation

◆ m_enabledUsers

QStringList Jellyfin::DTO::LiveTvInfo::m_enabledUsers
protected

◆ m_isEnabled

bool Jellyfin::DTO::LiveTvInfo::m_isEnabled
protected

◆ m_services

QList<LiveTvServiceInfo> Jellyfin::DTO::LiveTvInfo::m_services
protected

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