30#ifndef JELLYFIN_DTO_CLIENTCAPABILITIESDTO_H
31#define JELLYFIN_DTO_CLIENTCAPABILITIESDTO_H
36#include <QSharedPointer>
73 QJsonObject
toJson()
const;
An Api client for Jellyfin. Handles requests and authentication.
Definition apiclient.h:90
Definition clientcapabilitiesdto.h:54
bool iconUrlNull() const
Definition clientcapabilitiesdto.cpp:159
QString m_iconUrl
Definition clientcapabilitiesdto.h:147
bool m_supportsPersistentIdentifier
Definition clientcapabilitiesdto.h:144
void setSupportsMediaControl(bool newSupportsMediaControl)
Gets or sets a value indicating whether session supports media control.
Definition clientcapabilitiesdto.cpp:125
void setDeviceProfile(QSharedPointer< DeviceProfile > newDeviceProfile)
Definition clientcapabilitiesdto.cpp:137
QString appStoreUrl() const
Gets or sets the app store url.
Definition clientcapabilitiesdto.cpp:141
bool m_supportsMediaControl
Definition clientcapabilitiesdto.h:143
bool appStoreUrlNull() const
Definition clientcapabilitiesdto.cpp:146
QString m_appStoreUrl
Definition clientcapabilitiesdto.h:146
void setSupportsPersistentIdentifier(bool newSupportsPersistentIdentifier)
Gets or sets a value indicating whether session supports a persistent identifier.
Definition clientcapabilitiesdto.cpp:131
ClientCapabilitiesDto(QList< MediaType > playableMediaTypes, QList< GeneralCommandType > supportedCommands, bool supportsMediaControl, bool supportsPersistentIdentifier, QSharedPointer< DeviceProfile > deviceProfile)
Definition clientcapabilitiesdto.cpp:36
bool supportsMediaControl() const
Gets or sets a value indicating whether session supports media control.
Definition clientcapabilitiesdto.cpp:123
void setAppStoreUrl(QString newAppStoreUrl)
Gets or sets the app store url.
Definition clientcapabilitiesdto.cpp:143
void setSupportedCommands(QList< GeneralCommandType > newSupportedCommands)
Gets or sets the list of supported commands.
Definition clientcapabilitiesdto.cpp:119
QJsonObject toJson() const
Definition clientcapabilitiesdto.cpp:90
bool supportsPersistentIdentifier() const
Gets or sets a value indicating whether session supports a persistent identifier.
Definition clientcapabilitiesdto.cpp:129
void setIconUrl(QString newIconUrl)
Gets or sets the icon url.
Definition clientcapabilitiesdto.cpp:156
static ClientCapabilitiesDto fromJson(QJsonObject source)
Definition clientcapabilitiesdto.cpp:72
QList< GeneralCommandType > supportedCommands() const
Gets or sets the list of supported commands.
Definition clientcapabilitiesdto.cpp:117
QList< GeneralCommandType > m_supportedCommands
Definition clientcapabilitiesdto.h:142
QString iconUrl() const
Gets or sets the icon url.
Definition clientcapabilitiesdto.cpp:154
QSharedPointer< DeviceProfile > m_deviceProfile
Definition clientcapabilitiesdto.h:145
void setPlayableMediaTypes(QList< MediaType > newPlayableMediaTypes)
Gets or sets the list of playable media types.
Definition clientcapabilitiesdto.cpp:113
void setIconUrlNull()
Definition clientcapabilitiesdto.cpp:163
QList< MediaType > m_playableMediaTypes
Definition clientcapabilitiesdto.h:141
void setAppStoreUrlNull()
Definition clientcapabilitiesdto.cpp:150
void replaceData(ClientCapabilitiesDto &other)
Definition clientcapabilitiesdto.cpp:62
void setFromJson(QJsonObject source)
Definition clientcapabilitiesdto.cpp:79
QList< MediaType > playableMediaTypes() const
Gets or sets the list of playable media types.
Definition clientcapabilitiesdto.cpp:111
QSharedPointer< DeviceProfile > deviceProfile() const
Definition clientcapabilitiesdto.cpp:135
Definition mediaplayer2.h:20
Contains auto-generated Data Transfer Objects for the Jellyfin HTTP API.
Definition accessschedule.h:128
Jellyfin::DTO::ClientCapabilitiesDto ClientCapabilitiesDto
Definition clientcapabilitiesdto.h:159
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