30#ifndef JELLYFIN_DTO_READYREQUESTDTO_H
31#define JELLYFIN_DTO_READYREQUESTDTO_H
67 QJsonObject
toJson()
const;
73 QDateTime
when()
const;
77 void setWhen(QDateTime newWhen);
Definition readyrequestdto.h:49
void setPositionTicks(qint64 newPositionTicks)
Gets or sets the position ticks.
Definition readyrequestdto.cpp:97
QDateTime m_when
Definition readyrequestdto.h:108
qint64 positionTicks() const
Gets or sets the position ticks.
Definition readyrequestdto.cpp:95
qint64 m_positionTicks
Definition readyrequestdto.h:109
void setFromJson(QJsonObject source)
Definition readyrequestdto.cpp:71
QDateTime when() const
Gets or sets when the request has been made by the client.
Definition readyrequestdto.cpp:89
QJsonObject toJson() const
Definition readyrequestdto.cpp:79
QString playlistItemId() const
Gets or sets the playlist item identifier of the playing item.
Definition readyrequestdto.cpp:107
void replaceData(ReadyRequestDto &other)
Definition readyrequestdto.cpp:57
QString m_playlistItemId
Definition readyrequestdto.h:111
void setIsPlaying(bool newIsPlaying)
Gets or sets a value indicating whether the client playback is unpaused.
Definition readyrequestdto.cpp:103
bool isPlaying() const
Gets or sets a value indicating whether the client playback is unpaused.
Definition readyrequestdto.cpp:101
void setWhen(QDateTime newWhen)
Gets or sets when the request has been made by the client.
Definition readyrequestdto.cpp:91
void setPlaylistItemId(QString newPlaylistItemId)
Gets or sets the playlist item identifier of the playing item.
Definition readyrequestdto.cpp:109
static ReadyRequestDto fromJson(QJsonObject source)
Definition readyrequestdto.cpp:64
bool m_isPlaying
Definition readyrequestdto.h:110
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