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

#include <sessionsstartmessage.h>

Public Member Functions

 SessionsStartMessage (SessionMessageType messageType)
 SessionsStartMessage (const SessionsStartMessage &other)
void replaceData (SessionsStartMessage &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
QString data () const
 Gets or sets the data.
void setData (QString newData)
 Gets or sets the data.
bool dataNull () const
void setDataNull ()
SessionMessageType messageType () const
void setMessageType (SessionMessageType newMessageType)

Static Public Member Functions

static SessionsStartMessage fromJson (QJsonObject source)

Protected Attributes

QString m_data
SessionMessageType m_messageType

Constructor & Destructor Documentation

◆ SessionsStartMessage() [1/2]

Jellyfin::DTO::SessionsStartMessage::SessionsStartMessage ( SessionMessageType messageType)

◆ SessionsStartMessage() [2/2]

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

Member Function Documentation

◆ data()

QString Jellyfin::DTO::SessionsStartMessage::data ( ) const

Gets or sets the data.

◆ dataNull()

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

◆ fromJson()

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

◆ messageType()

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

◆ replaceData()

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

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

◆ setData()

void Jellyfin::DTO::SessionsStartMessage::setData ( QString newData)

Gets or sets the data.

◆ setDataNull()

void Jellyfin::DTO::SessionsStartMessage::setDataNull ( )

◆ setFromJson()

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

◆ setMessageType()

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

◆ toJson()

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

Member Data Documentation

◆ m_data

QString Jellyfin::DTO::SessionsStartMessage::m_data
protected

◆ m_messageType

SessionMessageType Jellyfin::DTO::SessionsStartMessage::m_messageType
protected

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