![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <sessionsmessage.h>
Public Member Functions | |
| SessionsMessage (QString messageId, SessionMessageType messageType) | |
| SessionsMessage (const SessionsMessage &other) | |
| void | replaceData (SessionsMessage &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| QList< SessionInfoDto > | data () const |
| Gets or sets the data. | |
| void | setData (QList< SessionInfoDto > 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 SessionsMessage | fromJson (QJsonObject source) |
Protected Attributes | |
| QList< SessionInfoDto > | m_data |
| QString | m_messageId |
| SessionMessageType | m_messageType |
| Jellyfin::DTO::SessionsMessage::SessionsMessage | ( | QString | messageId, |
| SessionMessageType | messageType ) |
| Jellyfin::DTO::SessionsMessage::SessionsMessage | ( | const SessionsMessage & | other | ) |
| QList< SessionInfoDto > Jellyfin::DTO::SessionsMessage::data | ( | ) | const |
Gets or sets the data.
| bool Jellyfin::DTO::SessionsMessage::dataNull | ( | ) | const |
|
static |
| QString Jellyfin::DTO::SessionsMessage::messageId | ( | ) | const |
Gets or sets the message id.
| SessionMessageType Jellyfin::DTO::SessionsMessage::messageType | ( | ) | const |
| void Jellyfin::DTO::SessionsMessage::replaceData | ( | SessionsMessage & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::SessionsMessage::setData | ( | QList< SessionInfoDto > | newData | ) |
Gets or sets the data.
| void Jellyfin::DTO::SessionsMessage::setDataNull | ( | ) |
| void Jellyfin::DTO::SessionsMessage::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::SessionsMessage::setMessageId | ( | QString | newMessageId | ) |
Gets or sets the message id.
| void Jellyfin::DTO::SessionsMessage::setMessageType | ( | SessionMessageType | newMessageType | ) |
| QJsonObject Jellyfin::DTO::SessionsMessage::toJson | ( | ) | const |
|
protected |
|
protected |
|
protected |