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

#include <forcekeepalivemessage.h>

Public Member Functions

 ForceKeepAliveMessage (qint32 data, QString messageId, SessionMessageType messageType)
 ForceKeepAliveMessage (const ForceKeepAliveMessage &other)
void replaceData (ForceKeepAliveMessage &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
qint32 data () const
 Gets or sets the data.
void setData (qint32 newData)
 Gets or sets the data.
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 ForceKeepAliveMessage fromJson (QJsonObject source)

Protected Attributes

qint32 m_data
QString m_messageId
SessionMessageType m_messageType

Constructor & Destructor Documentation

◆ ForceKeepAliveMessage() [1/2]

Jellyfin::DTO::ForceKeepAliveMessage::ForceKeepAliveMessage ( qint32 data,
QString messageId,
SessionMessageType messageType )

◆ ForceKeepAliveMessage() [2/2]

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

Member Function Documentation

◆ data()

qint32 Jellyfin::DTO::ForceKeepAliveMessage::data ( ) const

Gets or sets the data.

◆ fromJson()

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

◆ messageId()

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

Gets or sets the message id.

◆ messageType()

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

◆ replaceData()

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

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

◆ setData()

void Jellyfin::DTO::ForceKeepAliveMessage::setData ( qint32 newData)

Gets or sets the data.

◆ setFromJson()

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

◆ setMessageId()

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

Gets or sets the message id.

◆ setMessageType()

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

◆ toJson()

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

Member Data Documentation

◆ m_data

qint32 Jellyfin::DTO::ForceKeepAliveMessage::m_data
protected

◆ m_messageId

QString Jellyfin::DTO::ForceKeepAliveMessage::m_messageId
protected

◆ m_messageType

SessionMessageType Jellyfin::DTO::ForceKeepAliveMessage::m_messageType
protected

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