30#ifndef JELLYFIN_DTO_NOTIFICATIONDTO_H
31#define JELLYFIN_DTO_NOTIFICATIONDTO_H
67 QJsonObject
toJson()
const;
95 QDateTime
date()
const;
99 void setDate(QDateTime newDate);
113 QString
name()
const;
139 void setUrl(QString newUrl);
Definition notificationdto.h:50
void setDescriptionNull()
Definition notificationdto.cpp:183
void setUserIdNull()
Definition notificationdto.cpp:145
void setLevel(NotificationLevel newLevel)
Definition notificationdto.cpp:202
QString jellyfinId() const
Gets or sets the notification ID. Defaults to an empty string.
Definition notificationdto.cpp:123
void setJellyfinIdNull()
Definition notificationdto.cpp:132
bool descriptionNull() const
Definition notificationdto.cpp:179
void setJellyfinId(QString newJellyfinId)
Gets or sets the notification ID. Defaults to an empty string.
Definition notificationdto.cpp:125
bool nameNull() const
Definition notificationdto.cpp:166
QString name() const
Gets or sets the notification's name. Defaults to an empty string.
Definition notificationdto.cpp:161
void setIsRead(bool newIsRead)
Gets or sets a value indicating whether the notification has been read. Defaults to false.
Definition notificationdto.cpp:157
NotificationLevel m_level
Definition notificationdto.h:157
void replaceData(NotificationDto &other)
Definition notificationdto.cpp:59
void setName(QString newName)
Gets or sets the notification's name. Defaults to an empty string.
Definition notificationdto.cpp:163
void setUrl(QString newUrl)
Gets or sets the notification's URL. Defaults to an empty string.
Definition notificationdto.cpp:189
QDateTime m_date
Definition notificationdto.h:152
void setUrlNull()
Definition notificationdto.cpp:196
QString url() const
Gets or sets the notification's URL. Defaults to an empty string.
Definition notificationdto.cpp:187
QString m_name
Definition notificationdto.h:154
static NotificationDto fromJson(QJsonObject source)
Definition notificationdto.cpp:70
QJsonObject toJson() const
Definition notificationdto.cpp:89
QString m_url
Definition notificationdto.h:156
NotificationLevel level() const
Definition notificationdto.cpp:200
void setFromJson(QJsonObject source)
Definition notificationdto.cpp:77
QString m_jellyfinId
Definition notificationdto.h:150
bool urlNull() const
Definition notificationdto.cpp:192
void setUserId(QString newUserId)
Gets or sets the notification's user ID. Defaults to an empty string.
Definition notificationdto.cpp:138
bool isRead() const
Gets or sets a value indicating whether the notification has been read. Defaults to false.
Definition notificationdto.cpp:155
void setDate(QDateTime newDate)
Gets or sets the notification date.
Definition notificationdto.cpp:151
QDateTime date() const
Gets or sets the notification date.
Definition notificationdto.cpp:149
QString m_description
Definition notificationdto.h:155
void setDescription(QString newDescription)
Gets or sets the notification's description. Defaults to an empty string.
Definition notificationdto.cpp:176
QString description() const
Gets or sets the notification's description. Defaults to an empty string.
Definition notificationdto.cpp:174
bool m_isRead
Definition notificationdto.h:153
bool userIdNull() const
Definition notificationdto.cpp:141
QString userId() const
Gets or sets the notification's user ID. Defaults to an empty string.
Definition notificationdto.cpp:136
void setNameNull()
Definition notificationdto.cpp:170
QString m_userId
Definition notificationdto.h:151
bool jellyfinIdNull() const
Definition notificationdto.cpp:128
Value
Definition notificationlevel.h:49
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