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

#include <refreshprogressmessage.h>

Public Member Functions

 RefreshProgressMessage (QString messageId, SessionMessageType messageType)
 RefreshProgressMessage (const RefreshProgressMessage &other)
void replaceData (RefreshProgressMessage &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
QJsonObject data () const
 Gets or sets the data.
void setData (QJsonObject newData)
 Gets or sets the data.
bool dataNull () const
void setDataNull ()
QString messageId () const
 Gets or sets the message id.
void setMessageId (QString newMessageId)
 Gets or sets the message id.
SessionMessageType messageType () const
void setMessageType (SessionMessageType newMessageType)

Static Public Member Functions

static RefreshProgressMessage fromJson (QJsonObject source)

Protected Attributes

QJsonObject m_data
QString m_messageId
SessionMessageType m_messageType

Constructor & Destructor Documentation

◆ RefreshProgressMessage() [1/2]

Jellyfin::DTO::RefreshProgressMessage::RefreshProgressMessage ( QString messageId,
SessionMessageType messageType )

◆ RefreshProgressMessage() [2/2]

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

Member Function Documentation

◆ data()

QJsonObject Jellyfin::DTO::RefreshProgressMessage::data ( ) const

Gets or sets the data.

◆ dataNull()

bool Jellyfin::DTO::RefreshProgressMessage::dataNull ( ) const

◆ fromJson()

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

◆ messageId()

QString Jellyfin::DTO::RefreshProgressMessage::messageId ( ) const

Gets or sets the message id.

◆ messageType()

SessionMessageType Jellyfin::DTO::RefreshProgressMessage::messageType ( ) const

◆ replaceData()

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

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

◆ setData()

void Jellyfin::DTO::RefreshProgressMessage::setData ( QJsonObject newData)

Gets or sets the data.

◆ setDataNull()

void Jellyfin::DTO::RefreshProgressMessage::setDataNull ( )

◆ setFromJson()

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

◆ setMessageId()

void Jellyfin::DTO::RefreshProgressMessage::setMessageId ( QString newMessageId)

Gets or sets the message id.

◆ setMessageType()

void Jellyfin::DTO::RefreshProgressMessage::setMessageType ( SessionMessageType newMessageType)

◆ toJson()

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

Member Data Documentation

◆ m_data

QJsonObject Jellyfin::DTO::RefreshProgressMessage::m_data
protected

◆ m_messageId

QString Jellyfin::DTO::RefreshProgressMessage::m_messageId
protected

◆ m_messageType

SessionMessageType Jellyfin::DTO::RefreshProgressMessage::m_messageType
protected

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