![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <readyrequestdto.h>
Public Member Functions | |
| ReadyRequestDto (QDateTime when, qint64 positionTicks, bool isPlaying, QString playlistItemId) | |
| ReadyRequestDto (const ReadyRequestDto &other) | |
| void | replaceData (ReadyRequestDto &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| QDateTime | when () const |
| Gets or sets when the request has been made by the client. | |
| void | setWhen (QDateTime newWhen) |
| Gets or sets when the request has been made by the client. | |
| qint64 | positionTicks () const |
| Gets or sets the position ticks. | |
| void | setPositionTicks (qint64 newPositionTicks) |
| Gets or sets the position ticks. | |
| bool | isPlaying () const |
| Gets or sets a value indicating whether the client playback is unpaused. | |
| void | setIsPlaying (bool newIsPlaying) |
| Gets or sets a value indicating whether the client playback is unpaused. | |
| QString | playlistItemId () const |
| Gets or sets the playlist item identifier of the playing item. | |
| void | setPlaylistItemId (QString newPlaylistItemId) |
| Gets or sets the playlist item identifier of the playing item. | |
Static Public Member Functions | |
| static ReadyRequestDto | fromJson (QJsonObject source) |
Protected Attributes | |
| QDateTime | m_when |
| qint64 | m_positionTicks |
| bool | m_isPlaying |
| QString | m_playlistItemId |
| Jellyfin::DTO::ReadyRequestDto::ReadyRequestDto | ( | QDateTime | when, |
| qint64 | positionTicks, | ||
| bool | isPlaying, | ||
| QString | playlistItemId ) |
| Jellyfin::DTO::ReadyRequestDto::ReadyRequestDto | ( | const ReadyRequestDto & | other | ) |
|
static |
| bool Jellyfin::DTO::ReadyRequestDto::isPlaying | ( | ) | const |
Gets or sets a value indicating whether the client playback is unpaused.
| QString Jellyfin::DTO::ReadyRequestDto::playlistItemId | ( | ) | const |
Gets or sets the playlist item identifier of the playing item.
| qint64 Jellyfin::DTO::ReadyRequestDto::positionTicks | ( | ) | const |
Gets or sets the position ticks.
| void Jellyfin::DTO::ReadyRequestDto::replaceData | ( | ReadyRequestDto & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::ReadyRequestDto::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::ReadyRequestDto::setIsPlaying | ( | bool | newIsPlaying | ) |
Gets or sets a value indicating whether the client playback is unpaused.
| void Jellyfin::DTO::ReadyRequestDto::setPlaylistItemId | ( | QString | newPlaylistItemId | ) |
Gets or sets the playlist item identifier of the playing item.
| void Jellyfin::DTO::ReadyRequestDto::setPositionTicks | ( | qint64 | newPositionTicks | ) |
Gets or sets the position ticks.
| void Jellyfin::DTO::ReadyRequestDto::setWhen | ( | QDateTime | newWhen | ) |
Gets or sets when the request has been made by the client.
| QJsonObject Jellyfin::DTO::ReadyRequestDto::toJson | ( | ) | const |
| QDateTime Jellyfin::DTO::ReadyRequestDto::when | ( | ) | const |
Gets or sets when the request has been made by the client.
|
protected |
|
protected |
|
protected |
|
protected |