#include <notificationdto.h>
◆ NotificationDto() [1/2]
Jellyfin::DTO::NotificationDto::NotificationDto |
( |
QDateTime | date, |
|
|
bool | isRead, |
|
|
NotificationLevel | level ) |
◆ NotificationDto() [2/2]
Jellyfin::DTO::NotificationDto::NotificationDto |
( |
const NotificationDto & | other | ) |
|
◆ date()
QDateTime Jellyfin::DTO::NotificationDto::date |
( |
| ) |
const |
Gets or sets the notification date.
◆ description()
QString Jellyfin::DTO::NotificationDto::description |
( |
| ) |
const |
Gets or sets the notification's description. Defaults to an empty string.
◆ descriptionNull()
bool Jellyfin::DTO::NotificationDto::descriptionNull |
( |
| ) |
const |
◆ fromJson()
NotificationDto Jellyfin::DTO::NotificationDto::fromJson |
( |
QJsonObject | source | ) |
|
|
static |
◆ isRead()
bool Jellyfin::DTO::NotificationDto::isRead |
( |
| ) |
const |
Gets or sets a value indicating whether the notification has been read. Defaults to false.
◆ jellyfinId()
QString Jellyfin::DTO::NotificationDto::jellyfinId |
( |
| ) |
const |
Gets or sets the notification ID. Defaults to an empty string.
◆ jellyfinIdNull()
bool Jellyfin::DTO::NotificationDto::jellyfinIdNull |
( |
| ) |
const |
◆ level()
◆ name()
QString Jellyfin::DTO::NotificationDto::name |
( |
| ) |
const |
Gets or sets the notification's name. Defaults to an empty string.
◆ nameNull()
bool Jellyfin::DTO::NotificationDto::nameNull |
( |
| ) |
const |
◆ replaceData()
void Jellyfin::DTO::NotificationDto::replaceData |
( |
NotificationDto & | other | ) |
|
Replaces the data being hold by this class with that of the other.
◆ setDate()
void Jellyfin::DTO::NotificationDto::setDate |
( |
QDateTime | newDate | ) |
|
Gets or sets the notification date.
◆ setDescription()
void Jellyfin::DTO::NotificationDto::setDescription |
( |
QString | newDescription | ) |
|
Gets or sets the notification's description. Defaults to an empty string.
◆ setDescriptionNull()
void Jellyfin::DTO::NotificationDto::setDescriptionNull |
( |
| ) |
|
◆ setFromJson()
void Jellyfin::DTO::NotificationDto::setFromJson |
( |
QJsonObject | source | ) |
|
◆ setIsRead()
void Jellyfin::DTO::NotificationDto::setIsRead |
( |
bool | newIsRead | ) |
|
Gets or sets a value indicating whether the notification has been read. Defaults to false.
◆ setJellyfinId()
void Jellyfin::DTO::NotificationDto::setJellyfinId |
( |
QString | newJellyfinId | ) |
|
Gets or sets the notification ID. Defaults to an empty string.
◆ setJellyfinIdNull()
void Jellyfin::DTO::NotificationDto::setJellyfinIdNull |
( |
| ) |
|
◆ setLevel()
◆ setName()
void Jellyfin::DTO::NotificationDto::setName |
( |
QString | newName | ) |
|
Gets or sets the notification's name. Defaults to an empty string.
◆ setNameNull()
void Jellyfin::DTO::NotificationDto::setNameNull |
( |
| ) |
|
◆ setUrl()
void Jellyfin::DTO::NotificationDto::setUrl |
( |
QString | newUrl | ) |
|
Gets or sets the notification's URL. Defaults to an empty string.
◆ setUrlNull()
void Jellyfin::DTO::NotificationDto::setUrlNull |
( |
| ) |
|
◆ setUserId()
void Jellyfin::DTO::NotificationDto::setUserId |
( |
QString | newUserId | ) |
|
Gets or sets the notification's user ID. Defaults to an empty string.
◆ setUserIdNull()
void Jellyfin::DTO::NotificationDto::setUserIdNull |
( |
| ) |
|
◆ toJson()
QJsonObject Jellyfin::DTO::NotificationDto::toJson |
( |
| ) |
const |
◆ url()
QString Jellyfin::DTO::NotificationDto::url |
( |
| ) |
const |
Gets or sets the notification's URL. Defaults to an empty string.
◆ urlNull()
bool Jellyfin::DTO::NotificationDto::urlNull |
( |
| ) |
const |
◆ userId()
QString Jellyfin::DTO::NotificationDto::userId |
( |
| ) |
const |
Gets or sets the notification's user ID. Defaults to an empty string.
◆ userIdNull()
bool Jellyfin::DTO::NotificationDto::userIdNull |
( |
| ) |
const |
◆ m_date
QDateTime Jellyfin::DTO::NotificationDto::m_date |
|
protected |
◆ m_description
QString Jellyfin::DTO::NotificationDto::m_description |
|
protected |
◆ m_isRead
bool Jellyfin::DTO::NotificationDto::m_isRead |
|
protected |
◆ m_jellyfinId
QString Jellyfin::DTO::NotificationDto::m_jellyfinId |
|
protected |
◆ m_level
◆ m_name
QString Jellyfin::DTO::NotificationDto::m_name |
|
protected |
◆ m_url
QString Jellyfin::DTO::NotificationDto::m_url |
|
protected |
◆ m_userId
QString Jellyfin::DTO::NotificationDto::m_userId |
|
protected |
The documentation for this class was generated from the following files: