![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <user.h>
Public Member Functions | |
| User (ApiClient *apiClient=nullptr) | |
| User (const DTO::UserDto &data, ApiClient *apiClient=nullptr) | |
| bool | sameAs (const DTO::UserDto &other) |
Public Member Functions inherited from Jellyfin::DTO::UserDto | |
| UserDto (QString jellyfinId, bool hasPassword, bool hasConfiguredPassword, bool hasConfiguredEasyPassword, QSharedPointer< UserConfiguration > configuration, QSharedPointer< UserPolicy > policy) | |
| UserDto (const UserDto &other) | |
| void | replaceData (UserDto &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 | serverId () const |
| Gets or sets the server identifier. | |
| void | setServerId (QString newServerId) |
| Gets or sets the server identifier. | |
| bool | serverIdNull () const |
| void | setServerIdNull () |
| QString | serverName () const |
| void | setServerName (QString newServerName) |
| bool | serverNameNull () const |
| void | setServerNameNull () |
| QString | jellyfinId () const |
| Gets or sets the id. | |
| void | setJellyfinId (QString newJellyfinId) |
| Gets or sets the id. | |
| QString | primaryImageTag () const |
| Gets or sets the primary image tag. | |
| void | setPrimaryImageTag (QString newPrimaryImageTag) |
| Gets or sets the primary image tag. | |
| bool | primaryImageTagNull () const |
| void | setPrimaryImageTagNull () |
| bool | hasPassword () const |
| Gets or sets a value indicating whether this instance has password. | |
| void | setHasPassword (bool newHasPassword) |
| Gets or sets a value indicating whether this instance has password. | |
| bool | hasConfiguredPassword () const |
| Gets or sets a value indicating whether this instance has configured password. | |
| void | setHasConfiguredPassword (bool newHasConfiguredPassword) |
| Gets or sets a value indicating whether this instance has configured password. | |
| bool | hasConfiguredEasyPassword () const |
| Gets or sets a value indicating whether this instance has configured easy password. | |
| void | setHasConfiguredEasyPassword (bool newHasConfiguredEasyPassword) |
| Gets or sets a value indicating whether this instance has configured easy password. | |
| std::optional< bool > | enableAutoLogin () const |
| Gets or sets whether async login is enabled or not. | |
| void | setEnableAutoLogin (std::optional< bool > newEnableAutoLogin) |
| Gets or sets whether async login is enabled or not. | |
| bool | enableAutoLoginNull () const |
| void | setEnableAutoLoginNull () |
| QDateTime | lastLoginDate () const |
| Gets or sets the last login date. | |
| void | setLastLoginDate (QDateTime newLastLoginDate) |
| Gets or sets the last login date. | |
| bool | lastLoginDateNull () const |
| void | setLastLoginDateNull () |
| QDateTime | lastActivityDate () const |
| Gets or sets the last activity date. | |
| void | setLastActivityDate (QDateTime newLastActivityDate) |
| Gets or sets the last activity date. | |
| bool | lastActivityDateNull () const |
| void | setLastActivityDateNull () |
| QSharedPointer< UserConfiguration > | configuration () const |
| void | setConfiguration (QSharedPointer< UserConfiguration > newConfiguration) |
| QSharedPointer< UserPolicy > | policy () const |
| void | setPolicy (QSharedPointer< UserPolicy > newPolicy) |
| std::optional< double > | primaryImageAspectRatio () const |
| Gets or sets the primary image aspect ratio. | |
| void | setPrimaryImageAspectRatio (std::optional< double > newPrimaryImageAspectRatio) |
| Gets or sets the primary image aspect ratio. | |
| bool | primaryImageAspectRatioNull () const |
| void | setPrimaryImageAspectRatioNull () |
Additional Inherited Members | |
Static Public Member Functions inherited from Jellyfin::DTO::UserDto | |
| static UserDto | fromJson (QJsonObject source) |
Protected Attributes inherited from Jellyfin::DTO::UserDto | |
| QString | m_name |
| QString | m_serverId |
| QString | m_serverName |
| QString | m_jellyfinId |
| QString | m_primaryImageTag |
| bool | m_hasPassword |
| bool | m_hasConfiguredPassword |
| bool | m_hasConfiguredEasyPassword |
| std::optional< bool > | m_enableAutoLogin = std::nullopt |
| QDateTime | m_lastLoginDate |
| QDateTime | m_lastActivityDate |
| QSharedPointer< UserConfiguration > | m_configuration = QSharedPointer<UserConfiguration>() |
| QSharedPointer< UserPolicy > | m_policy = QSharedPointer<UserPolicy>() |
| std::optional< double > | m_primaryImageAspectRatio = std::nullopt |
| Jellyfin::Model::User::User | ( | ApiClient * | apiClient = nullptr | ) |
| Jellyfin::Model::User::User | ( | const DTO::UserDto & | data, |
| ApiClient * | apiClient = nullptr ) |
| bool Jellyfin::Model::User::sameAs | ( | const DTO::UserDto & | other | ) |