30#ifndef JELLYFIN_DTO_USERDTO_H
31#define JELLYFIN_DTO_USERDTO_H
36#include <QSharedPointer>
60 QSharedPointer<UserPolicy>
policy
72 QJsonObject
toJson()
const;
196 QSharedPointer<UserPolicy>
policy()
const;
198 void setPolicy(QSharedPointer<UserPolicy> newPolicy);
224 QSharedPointer<UserConfiguration>
m_configuration = QSharedPointer<UserConfiguration>();
225 QSharedPointer<UserPolicy>
m_policy = QSharedPointer<UserPolicy>();
QString serverId() const
Gets or sets the server identifier.
Definition userdto.cpp:178
void setServerId(QString newServerId)
Gets or sets the server identifier.
Definition userdto.cpp:180
bool hasPassword() const
Gets or sets a value indicating whether this instance has password.
Definition userdto.cpp:223
void setLastActivityDateNull()
Definition userdto.cpp:276
bool m_hasConfiguredPassword
Definition userdto.h:219
void setPolicy(QSharedPointer< UserPolicy > newPolicy)
Definition userdto.cpp:288
bool lastLoginDateNull() const
Definition userdto.cpp:259
bool hasConfiguredEasyPassword() const
Gets or sets a value indicating whether this instance has configured easy password.
Definition userdto.cpp:235
bool serverNameNull() const
Definition userdto.cpp:196
bool m_hasPassword
Definition userdto.h:218
QString m_serverName
Definition userdto.h:215
QString jellyfinId() const
Gets or sets the id.
Definition userdto.cpp:204
void setLastLoginDate(QDateTime newLastLoginDate)
Gets or sets the last login date.
Definition userdto.cpp:256
QString m_primaryImageTag
Definition userdto.h:217
QString m_serverId
Definition userdto.h:214
std::optional< double > m_primaryImageAspectRatio
Definition userdto.h:226
void setName(QString newName)
Gets or sets the name.
Definition userdto.cpp:167
static UserDto fromJson(QJsonObject source)
Definition userdto.cpp:88
bool m_hasConfiguredEasyPassword
Definition userdto.h:220
void setFromJson(QJsonObject source)
Definition userdto.cpp:95
bool enableAutoLoginNull() const
Definition userdto.cpp:246
void setEnableAutoLogin(std::optional< bool > newEnableAutoLogin)
Gets or sets whether async login is enabled or not.
Definition userdto.cpp:243
QString serverName() const
Definition userdto.cpp:191
void setPrimaryImageTagNull()
Definition userdto.cpp:219
bool serverIdNull() const
Definition userdto.cpp:183
QString m_name
Definition userdto.h:213
void setLastActivityDate(QDateTime newLastActivityDate)
Gets or sets the last activity date.
Definition userdto.cpp:269
void setHasPassword(bool newHasPassword)
Gets or sets a value indicating whether this instance has password.
Definition userdto.cpp:225
bool nameNull() const
Definition userdto.cpp:170
void setEnableAutoLoginNull()
Definition userdto.cpp:250
void replaceData(UserDto &other)
Definition userdto.cpp:71
QDateTime lastActivityDate() const
Gets or sets the last activity date.
Definition userdto.cpp:267
void setPrimaryImageTag(QString newPrimaryImageTag)
Gets or sets the primary image tag.
Definition userdto.cpp:212
void setPrimaryImageAspectRatioNull()
Definition userdto.cpp:301
QDateTime m_lastLoginDate
Definition userdto.h:222
QDateTime lastLoginDate() const
Gets or sets the last login date.
Definition userdto.cpp:254
bool primaryImageAspectRatioNull() const
Definition userdto.cpp:297
void setJellyfinId(QString newJellyfinId)
Gets or sets the id.
Definition userdto.cpp:206
void setServerNameNull()
Definition userdto.cpp:200
QSharedPointer< UserConfiguration > configuration() const
Definition userdto.cpp:280
std::optional< double > primaryImageAspectRatio() const
Gets or sets the primary image aspect ratio.
Definition userdto.cpp:292
void setServerIdNull()
Definition userdto.cpp:187
bool hasConfiguredPassword() const
Gets or sets a value indicating whether this instance has configured password.
Definition userdto.cpp:229
void setConfiguration(QSharedPointer< UserConfiguration > newConfiguration)
Definition userdto.cpp:282
std::optional< bool > m_enableAutoLogin
Definition userdto.h:221
QJsonObject toJson() const
Definition userdto.cpp:113
void setHasConfiguredEasyPassword(bool newHasConfiguredEasyPassword)
Gets or sets a value indicating whether this instance has configured easy password.
Definition userdto.cpp:237
void setPrimaryImageAspectRatio(std::optional< double > newPrimaryImageAspectRatio)
Gets or sets the primary image aspect ratio.
Definition userdto.cpp:294
QString m_jellyfinId
Definition userdto.h:216
QString name() const
Gets or sets the name.
Definition userdto.cpp:165
bool primaryImageTagNull() const
Definition userdto.cpp:215
void setServerName(QString newServerName)
Definition userdto.cpp:193
void setNameNull()
Definition userdto.cpp:174
std::optional< bool > enableAutoLogin() const
Gets or sets whether async login is enabled or not.
Definition userdto.cpp:241
QSharedPointer< UserPolicy > m_policy
Definition userdto.h:225
bool lastActivityDateNull() const
Definition userdto.cpp:272
QString primaryImageTag() const
Gets or sets the primary image tag.
Definition userdto.cpp:210
QDateTime m_lastActivityDate
Definition userdto.h:223
void setLastLoginDateNull()
Definition userdto.cpp:263
QSharedPointer< UserConfiguration > m_configuration
Definition userdto.h:224
QSharedPointer< UserPolicy > policy() const
Definition userdto.cpp:286
void setHasConfiguredPassword(bool newHasConfiguredPassword)
Gets or sets a value indicating whether this instance has configured password.
Definition userdto.cpp:231
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