![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <accessschedule.h>
Public Member Functions | |
| AccessSchedule (qint32 jellyfinId, QString userId, DynamicDayOfWeek dayOfWeek, double startHour, double endHour) | |
| AccessSchedule (const AccessSchedule &other) | |
| void | replaceData (AccessSchedule &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| qint32 | jellyfinId () const |
| Gets the id of this instance. | |
| void | setJellyfinId (qint32 newJellyfinId) |
| Gets the id of this instance. | |
| QString | userId () const |
| Gets the id of the associated user. | |
| void | setUserId (QString newUserId) |
| Gets the id of the associated user. | |
| DynamicDayOfWeek | dayOfWeek () const |
| void | setDayOfWeek (DynamicDayOfWeek newDayOfWeek) |
| double | startHour () const |
| Gets or sets the start hour. | |
| void | setStartHour (double newStartHour) |
| Gets or sets the start hour. | |
| double | endHour () const |
| Gets or sets the end hour. | |
| void | setEndHour (double newEndHour) |
| Gets or sets the end hour. | |
Static Public Member Functions | |
| static AccessSchedule | fromJson (QJsonObject source) |
Protected Attributes | |
| qint32 | m_jellyfinId |
| QString | m_userId |
| DynamicDayOfWeek | m_dayOfWeek |
| double | m_startHour |
| double | m_endHour |
| Jellyfin::DTO::AccessSchedule::AccessSchedule | ( | qint32 | jellyfinId, |
| QString | userId, | ||
| DynamicDayOfWeek | dayOfWeek, | ||
| double | startHour, | ||
| double | endHour ) |
| Jellyfin::DTO::AccessSchedule::AccessSchedule | ( | const AccessSchedule & | other | ) |
| DynamicDayOfWeek Jellyfin::DTO::AccessSchedule::dayOfWeek | ( | ) | const |
| double Jellyfin::DTO::AccessSchedule::endHour | ( | ) | const |
Gets or sets the end hour.
|
static |
| qint32 Jellyfin::DTO::AccessSchedule::jellyfinId | ( | ) | const |
Gets the id of this instance.
| void Jellyfin::DTO::AccessSchedule::replaceData | ( | AccessSchedule & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::AccessSchedule::setDayOfWeek | ( | DynamicDayOfWeek | newDayOfWeek | ) |
| void Jellyfin::DTO::AccessSchedule::setEndHour | ( | double | newEndHour | ) |
Gets or sets the end hour.
| void Jellyfin::DTO::AccessSchedule::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::AccessSchedule::setJellyfinId | ( | qint32 | newJellyfinId | ) |
Gets the id of this instance.
| void Jellyfin::DTO::AccessSchedule::setStartHour | ( | double | newStartHour | ) |
Gets or sets the start hour.
| void Jellyfin::DTO::AccessSchedule::setUserId | ( | QString | newUserId | ) |
Gets the id of the associated user.
| double Jellyfin::DTO::AccessSchedule::startHour | ( | ) | const |
Gets or sets the start hour.
| QJsonObject Jellyfin::DTO::AccessSchedule::toJson | ( | ) | const |
| QString Jellyfin::DTO::AccessSchedule::userId | ( | ) | const |
Gets the id of the associated user.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |