30#ifndef JELLYFIN_DTO_PLAYBACKINFORESPONSE_H
31#define JELLYFIN_DTO_PLAYBACKINFORESPONSE_H
68 QJsonObject
toJson()
const;
An Api client for Jellyfin. Handles requests and authentication.
Definition apiclient.h:90
Definition playbackinforesponse.h:52
static PlaybackInfoResponse fromJson(QJsonObject source)
Definition playbackinforesponse.cpp:58
void replaceData(PlaybackInfoResponse &other)
Definition playbackinforesponse.cpp:52
QString playSessionId() const
Gets or sets the play session identifier.
Definition playbackinforesponse.cpp:91
void setPlaySessionId(QString newPlaySessionId)
Gets or sets the play session identifier.
Definition playbackinforesponse.cpp:93
QList< MediaSourceInfo > m_mediaSources
Definition playbackinforesponse.h:98
void setErrorCode(PlaybackErrorCode newErrorCode)
Definition playbackinforesponse.cpp:106
void setPlaySessionIdNull()
Definition playbackinforesponse.cpp:100
QJsonObject toJson() const
Definition playbackinforesponse.cpp:72
QString m_playSessionId
Definition playbackinforesponse.h:99
bool playSessionIdNull() const
Definition playbackinforesponse.cpp:96
void setMediaSources(QList< MediaSourceInfo > newMediaSources)
Gets or sets the media sources.
Definition playbackinforesponse.cpp:87
void setFromJson(QJsonObject source)
Definition playbackinforesponse.cpp:65
QList< MediaSourceInfo > mediaSources() const
Gets or sets the media sources.
Definition playbackinforesponse.cpp:85
PlaybackErrorCode m_errorCode
Definition playbackinforesponse.h:100
PlaybackInfoResponse(QList< MediaSourceInfo > mediaSources, PlaybackErrorCode errorCode)
Definition playbackinforesponse.cpp:36
PlaybackErrorCode errorCode() const
Definition playbackinforesponse.cpp:104
Definition mediaplayer2.h:20
Contains auto-generated Data Transfer Objects for the Jellyfin HTTP API.
PlaybackErrorCodeClass::Value PlaybackErrorCode
Definition playbackerrorcode.h:60
Definition accessschedule.h:128
Jellyfin::DTO::PlaybackInfoResponse PlaybackInfoResponse
Definition playbackinforesponse.h:112
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