#include <sendcommand.h>
◆ SendCommand() [1/2]
Jellyfin::DTO::SendCommand::SendCommand |
( |
QString | groupId, |
|
|
QString | playlistItemId, |
|
|
QDateTime | when, |
|
|
SendCommandType | command, |
|
|
QDateTime | emittedAt ) |
◆ SendCommand() [2/2]
Jellyfin::DTO::SendCommand::SendCommand |
( |
const SendCommand & | other | ) |
|
◆ command()
◆ emittedAt()
QDateTime Jellyfin::DTO::SendCommand::emittedAt |
( |
| ) |
const |
Gets the UTC time when this command has been emitted.
◆ fromJson()
SendCommand Jellyfin::DTO::SendCommand::fromJson |
( |
QJsonObject | source | ) |
|
|
static |
◆ groupId()
QString Jellyfin::DTO::SendCommand::groupId |
( |
| ) |
const |
Gets the group identifier.
◆ playlistItemId()
QString Jellyfin::DTO::SendCommand::playlistItemId |
( |
| ) |
const |
Gets the playlist identifier of the playing item.
◆ positionTicks()
std::optional< qint64 > Jellyfin::DTO::SendCommand::positionTicks |
( |
| ) |
const |
◆ positionTicksNull()
bool Jellyfin::DTO::SendCommand::positionTicksNull |
( |
| ) |
const |
◆ replaceData()
void Jellyfin::DTO::SendCommand::replaceData |
( |
SendCommand & | other | ) |
|
Replaces the data being hold by this class with that of the other.
◆ setCommand()
◆ setEmittedAt()
void Jellyfin::DTO::SendCommand::setEmittedAt |
( |
QDateTime | newEmittedAt | ) |
|
Gets the UTC time when this command has been emitted.
◆ setFromJson()
void Jellyfin::DTO::SendCommand::setFromJson |
( |
QJsonObject | source | ) |
|
◆ setGroupId()
void Jellyfin::DTO::SendCommand::setGroupId |
( |
QString | newGroupId | ) |
|
Gets the group identifier.
◆ setPlaylistItemId()
void Jellyfin::DTO::SendCommand::setPlaylistItemId |
( |
QString | newPlaylistItemId | ) |
|
Gets the playlist identifier of the playing item.
◆ setPositionTicks()
void Jellyfin::DTO::SendCommand::setPositionTicks |
( |
std::optional< qint64 > | newPositionTicks | ) |
|
◆ setPositionTicksNull()
void Jellyfin::DTO::SendCommand::setPositionTicksNull |
( |
| ) |
|
◆ setWhen()
void Jellyfin::DTO::SendCommand::setWhen |
( |
QDateTime | newWhen | ) |
|
Gets or sets the UTC time when to execute the command.
◆ toJson()
QJsonObject Jellyfin::DTO::SendCommand::toJson |
( |
| ) |
const |
◆ when()
QDateTime Jellyfin::DTO::SendCommand::when |
( |
| ) |
const |
Gets or sets the UTC time when to execute the command.
◆ m_command
◆ m_emittedAt
QDateTime Jellyfin::DTO::SendCommand::m_emittedAt |
|
protected |
◆ m_groupId
QString Jellyfin::DTO::SendCommand::m_groupId |
|
protected |
◆ m_playlistItemId
QString Jellyfin::DTO::SendCommand::m_playlistItemId |
|
protected |
◆ m_positionTicks
std::optional<qint64> Jellyfin::DTO::SendCommand::m_positionTicks = std::nullopt |
|
protected |
◆ m_when
QDateTime Jellyfin::DTO::SendCommand::m_when |
|
protected |
The documentation for this class was generated from the following files: