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

#include <deviceinfodto.h>

Public Member Functions

 DeviceInfoDto (QSharedPointer< ClientCapabilitiesDto > capabilities)
 DeviceInfoDto (const DeviceInfoDto &other)
void replaceData (DeviceInfoDto &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
QString name () const
 Gets or sets the name.
void setName (QString newName)
 Gets or sets the name.
bool nameNull () const
void setNameNull ()
QString customName () const
 Gets or sets the custom name.
void setCustomName (QString newCustomName)
 Gets or sets the custom name.
bool customNameNull () const
void setCustomNameNull ()
QString accessToken () const
 Gets or sets the access token.
void setAccessToken (QString newAccessToken)
 Gets or sets the access token.
bool accessTokenNull () const
void setAccessTokenNull ()
QString jellyfinId () const
 Gets or sets the identifier.
void setJellyfinId (QString newJellyfinId)
 Gets or sets the identifier.
bool jellyfinIdNull () const
void setJellyfinIdNull ()
QString lastUserName () const
 Gets or sets the last name of the user.
void setLastUserName (QString newLastUserName)
 Gets or sets the last name of the user.
bool lastUserNameNull () const
void setLastUserNameNull ()
QString appName () const
 Gets or sets the name of the application.
void setAppName (QString newAppName)
 Gets or sets the name of the application.
bool appNameNull () const
void setAppNameNull ()
QString appVersion () const
 Gets or sets the application version.
void setAppVersion (QString newAppVersion)
 Gets or sets the application version.
bool appVersionNull () const
void setAppVersionNull ()
QString lastUserId () const
 Gets or sets the last user identifier.
void setLastUserId (QString newLastUserId)
 Gets or sets the last user identifier.
bool lastUserIdNull () const
void setLastUserIdNull ()
QDateTime dateLastActivity () const
 Gets or sets the date last modified.
void setDateLastActivity (QDateTime newDateLastActivity)
 Gets or sets the date last modified.
bool dateLastActivityNull () const
void setDateLastActivityNull ()
QSharedPointer< ClientCapabilitiesDtocapabilities () const
void setCapabilities (QSharedPointer< ClientCapabilitiesDto > newCapabilities)
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 DeviceInfoDto fromJson (QJsonObject source)

Protected Attributes

QString m_name
QString m_customName
QString m_accessToken
QString m_jellyfinId
QString m_lastUserName
QString m_appName
QString m_appVersion
QString m_lastUserId
QDateTime m_dateLastActivity
QSharedPointer< ClientCapabilitiesDtom_capabilities = QSharedPointer<ClientCapabilitiesDto>()
QString m_iconUrl

Constructor & Destructor Documentation

◆ DeviceInfoDto() [1/2]

Jellyfin::DTO::DeviceInfoDto::DeviceInfoDto ( QSharedPointer< ClientCapabilitiesDto > capabilities)

◆ DeviceInfoDto() [2/2]

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

Member Function Documentation

◆ accessToken()

QString Jellyfin::DTO::DeviceInfoDto::accessToken ( ) const

Gets or sets the access token.

◆ accessTokenNull()

bool Jellyfin::DTO::DeviceInfoDto::accessTokenNull ( ) const

◆ appName()

QString Jellyfin::DTO::DeviceInfoDto::appName ( ) const

Gets or sets the name of the application.

◆ appNameNull()

bool Jellyfin::DTO::DeviceInfoDto::appNameNull ( ) const

◆ appVersion()

QString Jellyfin::DTO::DeviceInfoDto::appVersion ( ) const

Gets or sets the application version.

◆ appVersionNull()

bool Jellyfin::DTO::DeviceInfoDto::appVersionNull ( ) const

◆ capabilities()

QSharedPointer< ClientCapabilitiesDto > Jellyfin::DTO::DeviceInfoDto::capabilities ( ) const

◆ customName()

QString Jellyfin::DTO::DeviceInfoDto::customName ( ) const

Gets or sets the custom name.

◆ customNameNull()

bool Jellyfin::DTO::DeviceInfoDto::customNameNull ( ) const

◆ dateLastActivity()

QDateTime Jellyfin::DTO::DeviceInfoDto::dateLastActivity ( ) const

Gets or sets the date last modified.

◆ dateLastActivityNull()

bool Jellyfin::DTO::DeviceInfoDto::dateLastActivityNull ( ) const

◆ fromJson()

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

◆ iconUrl()

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

Gets or sets the icon URL.

◆ iconUrlNull()

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

◆ jellyfinId()

QString Jellyfin::DTO::DeviceInfoDto::jellyfinId ( ) const

Gets or sets the identifier.

◆ jellyfinIdNull()

bool Jellyfin::DTO::DeviceInfoDto::jellyfinIdNull ( ) const

◆ lastUserId()

QString Jellyfin::DTO::DeviceInfoDto::lastUserId ( ) const

Gets or sets the last user identifier.

◆ lastUserIdNull()

bool Jellyfin::DTO::DeviceInfoDto::lastUserIdNull ( ) const

◆ lastUserName()

QString Jellyfin::DTO::DeviceInfoDto::lastUserName ( ) const

Gets or sets the last name of the user.

◆ lastUserNameNull()

bool Jellyfin::DTO::DeviceInfoDto::lastUserNameNull ( ) const

◆ name()

QString Jellyfin::DTO::DeviceInfoDto::name ( ) const

Gets or sets the name.

◆ nameNull()

bool Jellyfin::DTO::DeviceInfoDto::nameNull ( ) const

◆ replaceData()

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

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

◆ setAccessToken()

void Jellyfin::DTO::DeviceInfoDto::setAccessToken ( QString newAccessToken)

Gets or sets the access token.

◆ setAccessTokenNull()

void Jellyfin::DTO::DeviceInfoDto::setAccessTokenNull ( )

◆ setAppName()

void Jellyfin::DTO::DeviceInfoDto::setAppName ( QString newAppName)

Gets or sets the name of the application.

◆ setAppNameNull()

void Jellyfin::DTO::DeviceInfoDto::setAppNameNull ( )

◆ setAppVersion()

void Jellyfin::DTO::DeviceInfoDto::setAppVersion ( QString newAppVersion)

Gets or sets the application version.

◆ setAppVersionNull()

void Jellyfin::DTO::DeviceInfoDto::setAppVersionNull ( )

◆ setCapabilities()

void Jellyfin::DTO::DeviceInfoDto::setCapabilities ( QSharedPointer< ClientCapabilitiesDto > newCapabilities)

◆ setCustomName()

void Jellyfin::DTO::DeviceInfoDto::setCustomName ( QString newCustomName)

Gets or sets the custom name.

◆ setCustomNameNull()

void Jellyfin::DTO::DeviceInfoDto::setCustomNameNull ( )

◆ setDateLastActivity()

void Jellyfin::DTO::DeviceInfoDto::setDateLastActivity ( QDateTime newDateLastActivity)

Gets or sets the date last modified.

◆ setDateLastActivityNull()

void Jellyfin::DTO::DeviceInfoDto::setDateLastActivityNull ( )

◆ setFromJson()

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

◆ setIconUrl()

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

Gets or sets the icon URL.

◆ setIconUrlNull()

void Jellyfin::DTO::DeviceInfoDto::setIconUrlNull ( )

◆ setJellyfinId()

void Jellyfin::DTO::DeviceInfoDto::setJellyfinId ( QString newJellyfinId)

Gets or sets the identifier.

◆ setJellyfinIdNull()

void Jellyfin::DTO::DeviceInfoDto::setJellyfinIdNull ( )

◆ setLastUserId()

void Jellyfin::DTO::DeviceInfoDto::setLastUserId ( QString newLastUserId)

Gets or sets the last user identifier.

◆ setLastUserIdNull()

void Jellyfin::DTO::DeviceInfoDto::setLastUserIdNull ( )

◆ setLastUserName()

void Jellyfin::DTO::DeviceInfoDto::setLastUserName ( QString newLastUserName)

Gets or sets the last name of the user.

◆ setLastUserNameNull()

void Jellyfin::DTO::DeviceInfoDto::setLastUserNameNull ( )

◆ setName()

void Jellyfin::DTO::DeviceInfoDto::setName ( QString newName)

Gets or sets the name.

◆ setNameNull()

void Jellyfin::DTO::DeviceInfoDto::setNameNull ( )

◆ toJson()

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

Member Data Documentation

◆ m_accessToken

QString Jellyfin::DTO::DeviceInfoDto::m_accessToken
protected

◆ m_appName

QString Jellyfin::DTO::DeviceInfoDto::m_appName
protected

◆ m_appVersion

QString Jellyfin::DTO::DeviceInfoDto::m_appVersion
protected

◆ m_capabilities

QSharedPointer<ClientCapabilitiesDto> Jellyfin::DTO::DeviceInfoDto::m_capabilities = QSharedPointer<ClientCapabilitiesDto>()
protected

◆ m_customName

QString Jellyfin::DTO::DeviceInfoDto::m_customName
protected

◆ m_dateLastActivity

QDateTime Jellyfin::DTO::DeviceInfoDto::m_dateLastActivity
protected

◆ m_iconUrl

QString Jellyfin::DTO::DeviceInfoDto::m_iconUrl
protected

◆ m_jellyfinId

QString Jellyfin::DTO::DeviceInfoDto::m_jellyfinId
protected

◆ m_lastUserId

QString Jellyfin::DTO::DeviceInfoDto::m_lastUserId
protected

◆ m_lastUserName

QString Jellyfin::DTO::DeviceInfoDto::m_lastUserName
protected

◆ m_name

QString Jellyfin::DTO::DeviceInfoDto::m_name
protected

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