30#ifndef JELLYFIN_DTO_LIVETVINFO_H
31#define JELLYFIN_DTO_LIVETVINFO_H
67 QJsonObject
toJson()
const;
An Api client for Jellyfin. Handles requests and authentication.
Definition apiclient.h:90
Definition livetvinfo.h:50
bool m_isEnabled
Definition livetvinfo.h:100
QStringList m_enabledUsers
Definition livetvinfo.h:101
void setFromJson(QJsonObject source)
Definition livetvinfo.cpp:67
QList< LiveTvServiceInfo > m_services
Definition livetvinfo.h:99
void replaceData(LiveTvInfo &other)
Definition livetvinfo.cpp:54
QStringList enabledUsers() const
Gets or sets the enabled users.
Definition livetvinfo.cpp:95
QJsonObject toJson() const
Definition livetvinfo.cpp:74
void setIsEnabled(bool newIsEnabled)
Gets or sets a value indicating whether this instance is enabled.
Definition livetvinfo.cpp:91
bool isEnabled() const
Gets or sets a value indicating whether this instance is enabled.
Definition livetvinfo.cpp:89
QList< LiveTvServiceInfo > services() const
Gets or sets the services.
Definition livetvinfo.cpp:83
LiveTvInfo(QList< LiveTvServiceInfo > services, bool isEnabled, QStringList enabledUsers)
Definition livetvinfo.cpp:36
void setEnabledUsers(QStringList newEnabledUsers)
Gets or sets the enabled users.
Definition livetvinfo.cpp:97
void setServices(QList< LiveTvServiceInfo > newServices)
Gets or sets the services.
Definition livetvinfo.cpp:85
static LiveTvInfo fromJson(QJsonObject source)
Definition livetvinfo.cpp:60
Definition mediaplayer2.h:20
Contains auto-generated Data Transfer Objects for the Jellyfin HTTP API.
Definition accessschedule.h:128
Jellyfin::DTO::LiveTvInfo LiveTvInfo
Definition livetvinfo.h:113
AccessSchedule fromJsonValue(const QJsonValue &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:133
QJsonValue toJsonValue(const AccessSchedule &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:139
Definition jsonconvimpl.h:45