![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <sendcommand.h>
Public Member Functions | |
| SendCommand (QString groupId, QString playlistItemId, QDateTime when, SendCommandType command, QDateTime emittedAt) | |
| SendCommand (const SendCommand &other) | |
| void | replaceData (SendCommand &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| QString | groupId () const |
| Gets the group identifier. | |
| void | setGroupId (QString newGroupId) |
| Gets the group identifier. | |
| QString | playlistItemId () const |
| Gets the playlist identifier of the playing item. | |
| void | setPlaylistItemId (QString newPlaylistItemId) |
| Gets the playlist identifier of the playing item. | |
| QDateTime | when () const |
| Gets or sets the UTC time when to execute the command. | |
| void | setWhen (QDateTime newWhen) |
| Gets or sets the UTC time when to execute the command. | |
| std::optional< qint64 > | positionTicks () const |
| Gets the position ticks. | |
| void | setPositionTicks (std::optional< qint64 > newPositionTicks) |
| Gets the position ticks. | |
| bool | positionTicksNull () const |
| void | setPositionTicksNull () |
| SendCommandType | command () const |
| void | setCommand (SendCommandType newCommand) |
| QDateTime | emittedAt () const |
| Gets the UTC time when this command has been emitted. | |
| void | setEmittedAt (QDateTime newEmittedAt) |
| Gets the UTC time when this command has been emitted. | |
Static Public Member Functions | |
| static SendCommand | fromJson (QJsonObject source) |
Protected Attributes | |
| QString | m_groupId |
| QString | m_playlistItemId |
| QDateTime | m_when |
| std::optional< qint64 > | m_positionTicks = std::nullopt |
| SendCommandType | m_command |
| QDateTime | m_emittedAt |
| Jellyfin::DTO::SendCommand::SendCommand | ( | QString | groupId, |
| QString | playlistItemId, | ||
| QDateTime | when, | ||
| SendCommandType | command, | ||
| QDateTime | emittedAt ) |
| Jellyfin::DTO::SendCommand::SendCommand | ( | const SendCommand & | other | ) |
| SendCommandType Jellyfin::DTO::SendCommand::command | ( | ) | const |
| QDateTime Jellyfin::DTO::SendCommand::emittedAt | ( | ) | const |
Gets the UTC time when this command has been emitted.
|
static |
| QString Jellyfin::DTO::SendCommand::groupId | ( | ) | const |
Gets the group identifier.
| QString Jellyfin::DTO::SendCommand::playlistItemId | ( | ) | const |
Gets the playlist identifier of the playing item.
| std::optional< qint64 > Jellyfin::DTO::SendCommand::positionTicks | ( | ) | const |
Gets the position ticks.
| bool Jellyfin::DTO::SendCommand::positionTicksNull | ( | ) | const |
| void Jellyfin::DTO::SendCommand::replaceData | ( | SendCommand & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::SendCommand::setCommand | ( | SendCommandType | newCommand | ) |
| void Jellyfin::DTO::SendCommand::setEmittedAt | ( | QDateTime | newEmittedAt | ) |
Gets the UTC time when this command has been emitted.
| void Jellyfin::DTO::SendCommand::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::SendCommand::setGroupId | ( | QString | newGroupId | ) |
Gets the group identifier.
| void Jellyfin::DTO::SendCommand::setPlaylistItemId | ( | QString | newPlaylistItemId | ) |
Gets the playlist identifier of the playing item.
| void Jellyfin::DTO::SendCommand::setPositionTicks | ( | std::optional< qint64 > | newPositionTicks | ) |
Gets the position ticks.
| void Jellyfin::DTO::SendCommand::setPositionTicksNull | ( | ) |
| void Jellyfin::DTO::SendCommand::setWhen | ( | QDateTime | newWhen | ) |
Gets or sets the UTC time when to execute the command.
| QJsonObject Jellyfin::DTO::SendCommand::toJson | ( | ) | const |
| QDateTime Jellyfin::DTO::SendCommand::when | ( | ) | const |
Gets or sets the UTC time when to execute the command.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |