30#ifndef JELLYFIN_DTO_DEVICEINFO_H
31#define JELLYFIN_DTO_DEVICEINFO_H
36#include <QSharedPointer>
68 QJsonObject
toJson()
const;
141 QSharedPointer<ClientCapabilities>
capabilities()
const;
143 void setCapabilities(QSharedPointer<ClientCapabilities> newCapabilities);
161 QSharedPointer<ClientCapabilities>
m_capabilities = QSharedPointer<ClientCapabilities>();
Definition deviceinfo.h:51
void setJellyfinId(QString newJellyfinId)
Gets or sets the identifier.
Definition deviceinfo.cpp:146
void setJellyfinIdNull()
Definition deviceinfo.cpp:153
QSharedPointer< ClientCapabilities > m_capabilities
Definition deviceinfo.h:161
QJsonObject toJson() const
Definition deviceinfo.cpp:92
void setAppVersionNull()
Definition deviceinfo.cpp:192
void setFromJson(QJsonObject source)
Definition deviceinfo.cpp:79
QString m_appName
Definition deviceinfo.h:157
bool appVersionNull() const
Definition deviceinfo.cpp:188
QString name() const
Definition deviceinfo.cpp:131
bool iconUrlNull() const
Definition deviceinfo.cpp:219
void setName(QString newName)
Definition deviceinfo.cpp:133
void replaceData(DeviceInfo &other)
Definition deviceinfo.cpp:60
QString m_lastUserName
Definition deviceinfo.h:156
QString lastUserId() const
Gets or sets the last user identifier.
Definition deviceinfo.cpp:196
void setCapabilities(QSharedPointer< ClientCapabilities > newCapabilities)
Definition deviceinfo.cpp:210
void setLastUserName(QString newLastUserName)
Gets or sets the last name of the user.
Definition deviceinfo.cpp:159
QString m_lastUserId
Definition deviceinfo.h:159
QString jellyfinId() const
Gets or sets the identifier.
Definition deviceinfo.cpp:144
bool lastUserNameNull() const
Definition deviceinfo.cpp:162
void setAppVersion(QString newAppVersion)
Gets or sets the application version.
Definition deviceinfo.cpp:185
QString iconUrl() const
Definition deviceinfo.cpp:214
QString m_name
Definition deviceinfo.h:154
void setAppNameNull()
Definition deviceinfo.cpp:179
void setNameNull()
Definition deviceinfo.cpp:140
QDateTime dateLastActivity() const
Gets or sets the date last modified.
Definition deviceinfo.cpp:202
static DeviceInfo fromJson(QJsonObject source)
Definition deviceinfo.cpp:72
void setDateLastActivity(QDateTime newDateLastActivity)
Gets or sets the date last modified.
Definition deviceinfo.cpp:204
bool jellyfinIdNull() const
Definition deviceinfo.cpp:149
bool nameNull() const
Definition deviceinfo.cpp:136
void setAppName(QString newAppName)
Gets or sets the name of the application.
Definition deviceinfo.cpp:172
QString appName() const
Gets or sets the name of the application.
Definition deviceinfo.cpp:170
QSharedPointer< ClientCapabilities > capabilities() const
Definition deviceinfo.cpp:208
QString m_iconUrl
Definition deviceinfo.h:162
bool appNameNull() const
Definition deviceinfo.cpp:175
QString m_appVersion
Definition deviceinfo.h:158
void setIconUrlNull()
Definition deviceinfo.cpp:223
void setIconUrl(QString newIconUrl)
Definition deviceinfo.cpp:216
QDateTime m_dateLastActivity
Definition deviceinfo.h:160
QString appVersion() const
Gets or sets the application version.
Definition deviceinfo.cpp:183
void setLastUserId(QString newLastUserId)
Gets or sets the last user identifier.
Definition deviceinfo.cpp:198
QString m_jellyfinId
Definition deviceinfo.h:155
void setLastUserNameNull()
Definition deviceinfo.cpp:166
QString lastUserName() const
Gets or sets the last name of the user.
Definition deviceinfo.cpp:157
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