30#ifndef JELLYFIN_DTO_ACCESSSCHEDULE_H
31#define JELLYFIN_DTO_ACCESSSCHEDULE_H
68 QJsonObject
toJson()
const;
An Api client for Jellyfin. Handles requests and authentication.
Definition apiclient.h:90
Definition accessschedule.h:49
void setEndHour(double newEndHour)
Gets or sets the end hour.
Definition accessschedule.cpp:121
QString userId() const
Gets the id of the associated user.
Definition accessschedule.cpp:101
void setFromJson(QJsonObject source)
Definition accessschedule.cpp:75
AccessSchedule(qint32 jellyfinId, QString userId, DynamicDayOfWeek dayOfWeek, double startHour, double endHour)
Definition accessschedule.cpp:36
QJsonObject toJson() const
Definition accessschedule.cpp:84
qint32 jellyfinId() const
Gets the id of this instance.
Definition accessschedule.cpp:95
void replaceData(AccessSchedule &other)
Definition accessschedule.cpp:60
void setDayOfWeek(DynamicDayOfWeek newDayOfWeek)
Definition accessschedule.cpp:109
double endHour() const
Gets or sets the end hour.
Definition accessschedule.cpp:119
DynamicDayOfWeek dayOfWeek() const
Definition accessschedule.cpp:107
QString m_userId
Definition accessschedule.h:115
qint32 m_jellyfinId
Definition accessschedule.h:114
DynamicDayOfWeek m_dayOfWeek
Definition accessschedule.h:116
double startHour() const
Gets or sets the start hour.
Definition accessschedule.cpp:113
static AccessSchedule fromJson(QJsonObject source)
Definition accessschedule.cpp:68
void setStartHour(double newStartHour)
Gets or sets the start hour.
Definition accessschedule.cpp:115
double m_startHour
Definition accessschedule.h:117
void setUserId(QString newUserId)
Gets the id of the associated user.
Definition accessschedule.cpp:103
void setJellyfinId(qint32 newJellyfinId)
Gets the id of this instance.
Definition accessschedule.cpp:97
double m_endHour
Definition accessschedule.h:118
Contains auto-generated Data Transfer Objects for the Jellyfin HTTP API.
DynamicDayOfWeekClass::Value DynamicDayOfWeek
Definition dynamicdayofweek.h:67
Definition accessschedule.h:128
Jellyfin::DTO::AccessSchedule AccessSchedule
Definition accessschedule.h:130
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