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