Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
Loading...
Searching...
No Matches
Jellyfin::DTO::NotificationResultDto Class Reference

#include <notificationresultdto.h>

Public Member Functions

 NotificationResultDto (qint32 totalRecordCount)
 
 NotificationResultDto (const NotificationResultDto &other)
 
void replaceData (NotificationResultDto &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QList< NotificationDtonotifications () const
 Gets or sets the current page of notifications.
 
void setNotifications (QList< NotificationDto > newNotifications)
 Gets or sets the current page of notifications.
 
bool notificationsNull () const
 
void setNotificationsNull ()
 
qint32 totalRecordCount () const
 Gets or sets the total number of notifications.
 
void setTotalRecordCount (qint32 newTotalRecordCount)
 Gets or sets the total number of notifications.
 

Static Public Member Functions

static NotificationResultDto fromJson (QJsonObject source)
 

Protected Attributes

QList< NotificationDtom_notifications
 
qint32 m_totalRecordCount
 

Constructor & Destructor Documentation

◆ NotificationResultDto() [1/2]

Jellyfin::DTO::NotificationResultDto::NotificationResultDto ( qint32 totalRecordCount)

◆ NotificationResultDto() [2/2]

Jellyfin::DTO::NotificationResultDto::NotificationResultDto ( const NotificationResultDto & other)

Member Function Documentation

◆ fromJson()

NotificationResultDto Jellyfin::DTO::NotificationResultDto::fromJson ( QJsonObject source)
static

◆ notifications()

QList< NotificationDto > Jellyfin::DTO::NotificationResultDto::notifications ( ) const

Gets or sets the current page of notifications.

◆ notificationsNull()

bool Jellyfin::DTO::NotificationResultDto::notificationsNull ( ) const

◆ replaceData()

void Jellyfin::DTO::NotificationResultDto::replaceData ( NotificationResultDto & other)

Replaces the data being hold by this class with that of the other.

◆ setFromJson()

void Jellyfin::DTO::NotificationResultDto::setFromJson ( QJsonObject source)

◆ setNotifications()

void Jellyfin::DTO::NotificationResultDto::setNotifications ( QList< NotificationDto > newNotifications)

Gets or sets the current page of notifications.

◆ setNotificationsNull()

void Jellyfin::DTO::NotificationResultDto::setNotificationsNull ( )

◆ setTotalRecordCount()

void Jellyfin::DTO::NotificationResultDto::setTotalRecordCount ( qint32 newTotalRecordCount)

Gets or sets the total number of notifications.

◆ toJson()

QJsonObject Jellyfin::DTO::NotificationResultDto::toJson ( ) const

◆ totalRecordCount()

qint32 Jellyfin::DTO::NotificationResultDto::totalRecordCount ( ) const

Gets or sets the total number of notifications.

Member Data Documentation

◆ m_notifications

QList<NotificationDto> Jellyfin::DTO::NotificationResultDto::m_notifications
protected

◆ m_totalRecordCount

qint32 Jellyfin::DTO::NotificationResultDto::m_totalRecordCount
protected

The documentation for this class was generated from the following files: