Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
Loading...
Searching...
No Matches
Jellyfin::DTO::ClientCapabilitiesDto Class Reference

#include <clientcapabilitiesdto.h>

Public Member Functions

 ClientCapabilitiesDto (bool supportsMediaControl, bool supportsContentUploading, bool supportsPersistentIdentifier, bool supportsSync, QSharedPointer< DeviceProfile > deviceProfile)
 
 ClientCapabilitiesDto (const ClientCapabilitiesDto &other)
 
void replaceData (ClientCapabilitiesDto &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QStringList playableMediaTypes () const
 Gets or sets the list of playable media types.
 
void setPlayableMediaTypes (QStringList newPlayableMediaTypes)
 Gets or sets the list of playable media types.
 
bool playableMediaTypesNull () const
 
void setPlayableMediaTypesNull ()
 
QList< GeneralCommandTypesupportedCommands () const
 Gets or sets the list of supported commands.
 
void setSupportedCommands (QList< GeneralCommandType > newSupportedCommands)
 Gets or sets the list of supported commands.
 
bool supportedCommandsNull () const
 
void setSupportedCommandsNull ()
 
bool supportsMediaControl () const
 Gets or sets a value indicating whether session supports media control.
 
void setSupportsMediaControl (bool newSupportsMediaControl)
 Gets or sets a value indicating whether session supports media control.
 
bool supportsContentUploading () const
 Gets or sets a value indicating whether session supports content uploading.
 
void setSupportsContentUploading (bool newSupportsContentUploading)
 Gets or sets a value indicating whether session supports content uploading.
 
QString messageCallbackUrl () const
 Gets or sets the message callback url.
 
void setMessageCallbackUrl (QString newMessageCallbackUrl)
 Gets or sets the message callback url.
 
bool messageCallbackUrlNull () const
 
void setMessageCallbackUrlNull ()
 
bool supportsPersistentIdentifier () const
 Gets or sets a value indicating whether session supports a persistent identifier.
 
void setSupportsPersistentIdentifier (bool newSupportsPersistentIdentifier)
 Gets or sets a value indicating whether session supports a persistent identifier.
 
bool supportsSync () const
 Gets or sets a value indicating whether session supports sync.
 
void setSupportsSync (bool newSupportsSync)
 Gets or sets a value indicating whether session supports sync.
 
QSharedPointer< DeviceProfiledeviceProfile () const
 
void setDeviceProfile (QSharedPointer< DeviceProfile > newDeviceProfile)
 
QString appStoreUrl () const
 Gets or sets the app store url.
 
void setAppStoreUrl (QString newAppStoreUrl)
 Gets or sets the app store url.
 
bool appStoreUrlNull () const
 
void setAppStoreUrlNull ()
 
QString iconUrl () const
 Gets or sets the icon url.
 
void setIconUrl (QString newIconUrl)
 Gets or sets the icon url.
 
bool iconUrlNull () const
 
void setIconUrlNull ()
 

Static Public Member Functions

static ClientCapabilitiesDto fromJson (QJsonObject source)
 

Protected Attributes

QStringList m_playableMediaTypes
 
QList< GeneralCommandTypem_supportedCommands
 
bool m_supportsMediaControl
 
bool m_supportsContentUploading
 
QString m_messageCallbackUrl
 
bool m_supportsPersistentIdentifier
 
bool m_supportsSync
 
QSharedPointer< DeviceProfilem_deviceProfile = QSharedPointer<DeviceProfile>()
 
QString m_appStoreUrl
 
QString m_iconUrl
 

Constructor & Destructor Documentation

◆ ClientCapabilitiesDto() [1/2]

Jellyfin::DTO::ClientCapabilitiesDto::ClientCapabilitiesDto ( bool supportsMediaControl,
bool supportsContentUploading,
bool supportsPersistentIdentifier,
bool supportsSync,
QSharedPointer< DeviceProfile > deviceProfile )

◆ ClientCapabilitiesDto() [2/2]

Jellyfin::DTO::ClientCapabilitiesDto::ClientCapabilitiesDto ( const ClientCapabilitiesDto & other)

Member Function Documentation

◆ appStoreUrl()

QString Jellyfin::DTO::ClientCapabilitiesDto::appStoreUrl ( ) const

Gets or sets the app store url.

◆ appStoreUrlNull()

bool Jellyfin::DTO::ClientCapabilitiesDto::appStoreUrlNull ( ) const

◆ deviceProfile()

QSharedPointer< DeviceProfile > Jellyfin::DTO::ClientCapabilitiesDto::deviceProfile ( ) const

◆ fromJson()

ClientCapabilitiesDto Jellyfin::DTO::ClientCapabilitiesDto::fromJson ( QJsonObject source)
static

◆ iconUrl()

QString Jellyfin::DTO::ClientCapabilitiesDto::iconUrl ( ) const

Gets or sets the icon url.

◆ iconUrlNull()

bool Jellyfin::DTO::ClientCapabilitiesDto::iconUrlNull ( ) const

◆ messageCallbackUrl()

QString Jellyfin::DTO::ClientCapabilitiesDto::messageCallbackUrl ( ) const

Gets or sets the message callback url.

◆ messageCallbackUrlNull()

bool Jellyfin::DTO::ClientCapabilitiesDto::messageCallbackUrlNull ( ) const

◆ playableMediaTypes()

QStringList Jellyfin::DTO::ClientCapabilitiesDto::playableMediaTypes ( ) const

Gets or sets the list of playable media types.

◆ playableMediaTypesNull()

bool Jellyfin::DTO::ClientCapabilitiesDto::playableMediaTypesNull ( ) const

◆ replaceData()

void Jellyfin::DTO::ClientCapabilitiesDto::replaceData ( ClientCapabilitiesDto & other)

Replaces the data being hold by this class with that of the other.

◆ setAppStoreUrl()

void Jellyfin::DTO::ClientCapabilitiesDto::setAppStoreUrl ( QString newAppStoreUrl)

Gets or sets the app store url.

◆ setAppStoreUrlNull()

void Jellyfin::DTO::ClientCapabilitiesDto::setAppStoreUrlNull ( )

◆ setDeviceProfile()

void Jellyfin::DTO::ClientCapabilitiesDto::setDeviceProfile ( QSharedPointer< DeviceProfile > newDeviceProfile)

◆ setFromJson()

void Jellyfin::DTO::ClientCapabilitiesDto::setFromJson ( QJsonObject source)

◆ setIconUrl()

void Jellyfin::DTO::ClientCapabilitiesDto::setIconUrl ( QString newIconUrl)

Gets or sets the icon url.

◆ setIconUrlNull()

void Jellyfin::DTO::ClientCapabilitiesDto::setIconUrlNull ( )

◆ setMessageCallbackUrl()

void Jellyfin::DTO::ClientCapabilitiesDto::setMessageCallbackUrl ( QString newMessageCallbackUrl)

Gets or sets the message callback url.

◆ setMessageCallbackUrlNull()

void Jellyfin::DTO::ClientCapabilitiesDto::setMessageCallbackUrlNull ( )

◆ setPlayableMediaTypes()

void Jellyfin::DTO::ClientCapabilitiesDto::setPlayableMediaTypes ( QStringList newPlayableMediaTypes)

Gets or sets the list of playable media types.

◆ setPlayableMediaTypesNull()

void Jellyfin::DTO::ClientCapabilitiesDto::setPlayableMediaTypesNull ( )

◆ setSupportedCommands()

void Jellyfin::DTO::ClientCapabilitiesDto::setSupportedCommands ( QList< GeneralCommandType > newSupportedCommands)

Gets or sets the list of supported commands.

◆ setSupportedCommandsNull()

void Jellyfin::DTO::ClientCapabilitiesDto::setSupportedCommandsNull ( )

◆ setSupportsContentUploading()

void Jellyfin::DTO::ClientCapabilitiesDto::setSupportsContentUploading ( bool newSupportsContentUploading)

Gets or sets a value indicating whether session supports content uploading.

◆ setSupportsMediaControl()

void Jellyfin::DTO::ClientCapabilitiesDto::setSupportsMediaControl ( bool newSupportsMediaControl)

Gets or sets a value indicating whether session supports media control.

◆ setSupportsPersistentIdentifier()

void Jellyfin::DTO::ClientCapabilitiesDto::setSupportsPersistentIdentifier ( bool newSupportsPersistentIdentifier)

Gets or sets a value indicating whether session supports a persistent identifier.

◆ setSupportsSync()

void Jellyfin::DTO::ClientCapabilitiesDto::setSupportsSync ( bool newSupportsSync)

Gets or sets a value indicating whether session supports sync.

◆ supportedCommands()

QList< GeneralCommandType > Jellyfin::DTO::ClientCapabilitiesDto::supportedCommands ( ) const

Gets or sets the list of supported commands.

◆ supportedCommandsNull()

bool Jellyfin::DTO::ClientCapabilitiesDto::supportedCommandsNull ( ) const

◆ supportsContentUploading()

bool Jellyfin::DTO::ClientCapabilitiesDto::supportsContentUploading ( ) const

Gets or sets a value indicating whether session supports content uploading.

◆ supportsMediaControl()

bool Jellyfin::DTO::ClientCapabilitiesDto::supportsMediaControl ( ) const

Gets or sets a value indicating whether session supports media control.

◆ supportsPersistentIdentifier()

bool Jellyfin::DTO::ClientCapabilitiesDto::supportsPersistentIdentifier ( ) const

Gets or sets a value indicating whether session supports a persistent identifier.

◆ supportsSync()

bool Jellyfin::DTO::ClientCapabilitiesDto::supportsSync ( ) const

Gets or sets a value indicating whether session supports sync.

◆ toJson()

QJsonObject Jellyfin::DTO::ClientCapabilitiesDto::toJson ( ) const

Member Data Documentation

◆ m_appStoreUrl

QString Jellyfin::DTO::ClientCapabilitiesDto::m_appStoreUrl
protected

◆ m_deviceProfile

QSharedPointer<DeviceProfile> Jellyfin::DTO::ClientCapabilitiesDto::m_deviceProfile = QSharedPointer<DeviceProfile>()
protected

◆ m_iconUrl

QString Jellyfin::DTO::ClientCapabilitiesDto::m_iconUrl
protected

◆ m_messageCallbackUrl

QString Jellyfin::DTO::ClientCapabilitiesDto::m_messageCallbackUrl
protected

◆ m_playableMediaTypes

QStringList Jellyfin::DTO::ClientCapabilitiesDto::m_playableMediaTypes
protected

◆ m_supportedCommands

QList<GeneralCommandType> Jellyfin::DTO::ClientCapabilitiesDto::m_supportedCommands
protected

◆ m_supportsContentUploading

bool Jellyfin::DTO::ClientCapabilitiesDto::m_supportsContentUploading
protected

◆ m_supportsMediaControl

bool Jellyfin::DTO::ClientCapabilitiesDto::m_supportsMediaControl
protected

◆ m_supportsPersistentIdentifier

bool Jellyfin::DTO::ClientCapabilitiesDto::m_supportsPersistentIdentifier
protected

◆ m_supportsSync

bool Jellyfin::DTO::ClientCapabilitiesDto::m_supportsSync
protected

The documentation for this class was generated from the following files: