30#ifndef JELLYFIN_DTO_SYNCPLAYCOMMANDMESSAGE_H
31#define JELLYFIN_DTO_SYNCPLAYCOMMANDMESSAGE_H
35#include <QSharedPointer>
54 QSharedPointer<SendCommand>
data,
68 QJsonObject
toJson()
const;
72 QSharedPointer<SendCommand>
data()
const;
74 void setData(QSharedPointer<SendCommand> newData);
92 QSharedPointer<SendCommand>
m_data = QSharedPointer<SendCommand>();
An Api client for Jellyfin. Handles requests and authentication.
Definition apiclient.h:90
Definition syncplaycommandmessage.h:51
SessionMessageType messageType() const
Definition syncplaycommandmessage.cpp:95
void setData(QSharedPointer< SendCommand > newData)
Definition syncplaycommandmessage.cpp:85
static SyncPlayCommandMessage fromJson(QJsonObject source)
Definition syncplaycommandmessage.cpp:60
SyncPlayCommandMessage(QSharedPointer< SendCommand > data, QString messageId, SessionMessageType messageType)
Definition syncplaycommandmessage.cpp:36
SessionMessageType m_messageType
Definition syncplaycommandmessage.h:94
QString messageId() const
Gets or sets the message id.
Definition syncplaycommandmessage.cpp:89
void setMessageId(QString newMessageId)
Gets or sets the message id.
Definition syncplaycommandmessage.cpp:91
QJsonObject toJson() const
Definition syncplaycommandmessage.cpp:74
QSharedPointer< SendCommand > m_data
Definition syncplaycommandmessage.h:92
void replaceData(SyncPlayCommandMessage &other)
Definition syncplaycommandmessage.cpp:54
void setMessageType(SessionMessageType newMessageType)
Definition syncplaycommandmessage.cpp:97
QSharedPointer< SendCommand > data() const
Definition syncplaycommandmessage.cpp:83
void setFromJson(QJsonObject source)
Definition syncplaycommandmessage.cpp:67
QString m_messageId
Definition syncplaycommandmessage.h:93
Contains auto-generated Data Transfer Objects for the Jellyfin HTTP API.
SessionMessageTypeClass::Value SessionMessageType
Definition sessionmessagetype.h:91
Definition accessschedule.h:128
Jellyfin::DTO::SyncPlayCommandMessage SyncPlayCommandMessage
Definition syncplaycommandmessage.h:106
AccessSchedule fromJsonValue(const QJsonValue &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:133
QJsonValue toJsonValue(const AccessSchedule &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:139
Definition jsonconvimpl.h:45