30#ifndef JELLYFIN_DTO_SENDCOMMAND_H
31#define JELLYFIN_DTO_SENDCOMMAND_H
69 QJsonObject
toJson()
const;
93 QDateTime
when()
const;
97 void setWhen(QDateTime newWhen);
Value
Definition sendcommandtype.h:49
Definition sendcommand.h:50
void setPositionTicks(std::optional< qint64 > newPositionTicks)
Gets the position ticks.
Definition sendcommand.cpp:123
void setEmittedAt(QDateTime newEmittedAt)
Gets the UTC time when this command has been emitted.
Definition sendcommand.cpp:142
void replaceData(SendCommand &other)
Definition sendcommand.cpp:61
QDateTime m_emittedAt
Definition sendcommand.h:131
QString m_groupId
Definition sendcommand.h:126
bool positionTicksNull() const
Definition sendcommand.cpp:126
void setGroupId(QString newGroupId)
Gets the group identifier.
Definition sendcommand.cpp:105
void setPlaylistItemId(QString newPlaylistItemId)
Gets the playlist identifier of the playing item.
Definition sendcommand.cpp:111
QDateTime when() const
Gets or sets the UTC time when to execute the command.
Definition sendcommand.cpp:115
std::optional< qint64 > m_positionTicks
Definition sendcommand.h:129
QJsonObject toJson() const
Definition sendcommand.cpp:87
SendCommandType command() const
Definition sendcommand.cpp:134
QString m_playlistItemId
Definition sendcommand.h:127
std::optional< qint64 > positionTicks() const
Gets the position ticks.
Definition sendcommand.cpp:121
void setCommand(SendCommandType newCommand)
Definition sendcommand.cpp:136
void setPositionTicksNull()
Definition sendcommand.cpp:130
QString groupId() const
Gets the group identifier.
Definition sendcommand.cpp:103
static SendCommand fromJson(QJsonObject source)
Definition sendcommand.cpp:70
QDateTime emittedAt() const
Gets the UTC time when this command has been emitted.
Definition sendcommand.cpp:140
QDateTime m_when
Definition sendcommand.h:128
QString playlistItemId() const
Gets the playlist identifier of the playing item.
Definition sendcommand.cpp:109
SendCommandType m_command
Definition sendcommand.h:130
void setFromJson(QJsonObject source)
Definition sendcommand.cpp:77
void setWhen(QDateTime newWhen)
Gets or sets the UTC time when to execute the command.
Definition sendcommand.cpp:117
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