30#ifndef JELLYFIN_DTO_PLAYREQUEST_H
31#define JELLYFIN_DTO_PLAYREQUEST_H
67 QJsonObject
toJson()
const;
Value
Definition playcommand.h:49
Definition playrequest.h:51
QString controllingUserId() const
Gets or sets the controlling user identifier.
Definition playrequest.cpp:157
std::optional< qint32 > subtitleStreamIndex() const
Definition playrequest.cpp:163
void setAudioStreamIndexNull()
Definition playrequest.cpp:185
std::optional< qint32 > m_startIndex
Definition playrequest.h:143
QString m_controllingUserId
Definition playrequest.h:139
void setStartIndex(std::optional< qint32 > newStartIndex)
Definition playrequest.cpp:204
void setStartPositionTicks(std::optional< qint64 > newStartPositionTicks)
Gets or sets the start position ticks that the first item should be played at.
Definition playrequest.cpp:140
QStringList m_itemIds
Definition playrequest.h:136
void setStartIndexNull()
Definition playrequest.cpp:211
void setMediaSourceIdNull()
Definition playrequest.cpp:198
std::optional< qint32 > startIndex() const
Definition playrequest.cpp:202
QString m_mediaSourceId
Definition playrequest.h:142
void setSubtitleStreamIndexNull()
Definition playrequest.cpp:172
void setAudioStreamIndex(std::optional< qint32 > newAudioStreamIndex)
Definition playrequest.cpp:178
void setMediaSourceId(QString newMediaSourceId)
Definition playrequest.cpp:191
bool audioStreamIndexNull() const
Definition playrequest.cpp:181
void replaceData(PlayRequest &other)
Definition playrequest.cpp:57
static PlayRequest fromJson(QJsonObject source)
Definition playrequest.cpp:68
bool startPositionTicksNull() const
Definition playrequest.cpp:143
void setControllingUserId(QString newControllingUserId)
Gets or sets the controlling user identifier.
Definition playrequest.cpp:159
std::optional< qint32 > m_audioStreamIndex
Definition playrequest.h:141
QString mediaSourceId() const
Definition playrequest.cpp:189
void setItemIds(QStringList newItemIds)
Gets or sets the item ids.
Definition playrequest.cpp:127
std::optional< qint32 > m_subtitleStreamIndex
Definition playrequest.h:140
void setSubtitleStreamIndex(std::optional< qint32 > newSubtitleStreamIndex)
Definition playrequest.cpp:165
void setFromJson(QJsonObject source)
Definition playrequest.cpp:75
bool startIndexNull() const
Definition playrequest.cpp:207
std::optional< qint64 > startPositionTicks() const
Gets or sets the start position ticks that the first item should be played at.
Definition playrequest.cpp:138
PlayCommand m_playCommand
Definition playrequest.h:138
QStringList itemIds() const
Gets or sets the item ids.
Definition playrequest.cpp:125
QJsonObject toJson() const
Definition playrequest.cpp:87
void setPlayCommand(PlayCommand newPlayCommand)
Definition playrequest.cpp:153
PlayCommand playCommand() const
Definition playrequest.cpp:151
bool itemIdsNull() const
Definition playrequest.cpp:130
bool subtitleStreamIndexNull() const
Definition playrequest.cpp:168
void setItemIdsNull()
Definition playrequest.cpp:134
bool mediaSourceIdNull() const
Definition playrequest.cpp:194
void setStartPositionTicksNull()
Definition playrequest.cpp:147
std::optional< qint64 > m_startPositionTicks
Definition playrequest.h:137
std::optional< qint32 > audioStreamIndex() const
Definition playrequest.cpp:176
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