Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <authenticationinfo.h>
Public Member Functions | |
AuthenticationInfo (qint64 jellyfinId, QString userId, bool isActive, QDateTime dateCreated, QDateTime dateLastActivity) | |
AuthenticationInfo (const AuthenticationInfo &other) | |
void | replaceData (AuthenticationInfo &other) |
void | setFromJson (QJsonObject source) |
QJsonObject | toJson () const |
qint64 | jellyfinId () const |
Gets or sets the identifier. | |
void | setJellyfinId (qint64 newJellyfinId) |
Gets or sets the identifier. | |
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 | deviceId () const |
Gets or sets the device identifier. | |
void | setDeviceId (QString newDeviceId) |
Gets or sets the device identifier. | |
bool | deviceIdNull () const |
void | setDeviceIdNull () |
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 | deviceName () const |
Gets or sets the name of the device. | |
void | setDeviceName (QString newDeviceName) |
Gets or sets the name of the device. | |
bool | deviceNameNull () const |
void | setDeviceNameNull () |
QString | userId () const |
Gets or sets the user identifier. | |
void | setUserId (QString newUserId) |
Gets or sets the user identifier. | |
bool | isActive () const |
Gets or sets a value indicating whether this instance is active. | |
void | setIsActive (bool newIsActive) |
Gets or sets a value indicating whether this instance is active. | |
QDateTime | dateCreated () const |
Gets or sets the date created. | |
void | setDateCreated (QDateTime newDateCreated) |
Gets or sets the date created. | |
QDateTime | dateRevoked () const |
Gets or sets the date revoked. | |
void | setDateRevoked (QDateTime newDateRevoked) |
Gets or sets the date revoked. | |
bool | dateRevokedNull () const |
void | setDateRevokedNull () |
QDateTime | dateLastActivity () const |
void | setDateLastActivity (QDateTime newDateLastActivity) |
QString | userName () const |
void | setUserName (QString newUserName) |
bool | userNameNull () const |
void | setUserNameNull () |
Static Public Member Functions | |
static AuthenticationInfo | fromJson (QJsonObject source) |
Protected Attributes | |
qint64 | m_jellyfinId |
QString | m_accessToken |
QString | m_deviceId |
QString | m_appName |
QString | m_appVersion |
QString | m_deviceName |
QString | m_userId |
bool | m_isActive |
QDateTime | m_dateCreated |
QDateTime | m_dateRevoked |
QDateTime | m_dateLastActivity |
QString | m_userName |
Jellyfin::DTO::AuthenticationInfo::AuthenticationInfo | ( | qint64 | jellyfinId, |
QString | userId, | ||
bool | isActive, | ||
QDateTime | dateCreated, | ||
QDateTime | dateLastActivity ) |
Jellyfin::DTO::AuthenticationInfo::AuthenticationInfo | ( | const AuthenticationInfo & | other | ) |
QString Jellyfin::DTO::AuthenticationInfo::accessToken | ( | ) | const |
Gets or sets the access token.
bool Jellyfin::DTO::AuthenticationInfo::accessTokenNull | ( | ) | const |
QString Jellyfin::DTO::AuthenticationInfo::appName | ( | ) | const |
Gets or sets the name of the application.
bool Jellyfin::DTO::AuthenticationInfo::appNameNull | ( | ) | const |
QString Jellyfin::DTO::AuthenticationInfo::appVersion | ( | ) | const |
Gets or sets the application version.
bool Jellyfin::DTO::AuthenticationInfo::appVersionNull | ( | ) | const |
QDateTime Jellyfin::DTO::AuthenticationInfo::dateCreated | ( | ) | const |
Gets or sets the date created.
QDateTime Jellyfin::DTO::AuthenticationInfo::dateLastActivity | ( | ) | const |
QDateTime Jellyfin::DTO::AuthenticationInfo::dateRevoked | ( | ) | const |
Gets or sets the date revoked.
bool Jellyfin::DTO::AuthenticationInfo::dateRevokedNull | ( | ) | const |
QString Jellyfin::DTO::AuthenticationInfo::deviceId | ( | ) | const |
Gets or sets the device identifier.
bool Jellyfin::DTO::AuthenticationInfo::deviceIdNull | ( | ) | const |
QString Jellyfin::DTO::AuthenticationInfo::deviceName | ( | ) | const |
Gets or sets the name of the device.
bool Jellyfin::DTO::AuthenticationInfo::deviceNameNull | ( | ) | const |
|
static |
bool Jellyfin::DTO::AuthenticationInfo::isActive | ( | ) | const |
Gets or sets a value indicating whether this instance is active.
qint64 Jellyfin::DTO::AuthenticationInfo::jellyfinId | ( | ) | const |
Gets or sets the identifier.
void Jellyfin::DTO::AuthenticationInfo::replaceData | ( | AuthenticationInfo & | other | ) |
Replaces the data being hold by this class with that of the other.
void Jellyfin::DTO::AuthenticationInfo::setAccessToken | ( | QString | newAccessToken | ) |
Gets or sets the access token.
void Jellyfin::DTO::AuthenticationInfo::setAccessTokenNull | ( | ) |
void Jellyfin::DTO::AuthenticationInfo::setAppName | ( | QString | newAppName | ) |
Gets or sets the name of the application.
void Jellyfin::DTO::AuthenticationInfo::setAppNameNull | ( | ) |
void Jellyfin::DTO::AuthenticationInfo::setAppVersion | ( | QString | newAppVersion | ) |
Gets or sets the application version.
void Jellyfin::DTO::AuthenticationInfo::setAppVersionNull | ( | ) |
void Jellyfin::DTO::AuthenticationInfo::setDateCreated | ( | QDateTime | newDateCreated | ) |
Gets or sets the date created.
void Jellyfin::DTO::AuthenticationInfo::setDateLastActivity | ( | QDateTime | newDateLastActivity | ) |
void Jellyfin::DTO::AuthenticationInfo::setDateRevoked | ( | QDateTime | newDateRevoked | ) |
Gets or sets the date revoked.
void Jellyfin::DTO::AuthenticationInfo::setDateRevokedNull | ( | ) |
void Jellyfin::DTO::AuthenticationInfo::setDeviceId | ( | QString | newDeviceId | ) |
Gets or sets the device identifier.
void Jellyfin::DTO::AuthenticationInfo::setDeviceIdNull | ( | ) |
void Jellyfin::DTO::AuthenticationInfo::setDeviceName | ( | QString | newDeviceName | ) |
Gets or sets the name of the device.
void Jellyfin::DTO::AuthenticationInfo::setDeviceNameNull | ( | ) |
void Jellyfin::DTO::AuthenticationInfo::setFromJson | ( | QJsonObject | source | ) |
void Jellyfin::DTO::AuthenticationInfo::setIsActive | ( | bool | newIsActive | ) |
Gets or sets a value indicating whether this instance is active.
void Jellyfin::DTO::AuthenticationInfo::setJellyfinId | ( | qint64 | newJellyfinId | ) |
Gets or sets the identifier.
void Jellyfin::DTO::AuthenticationInfo::setUserId | ( | QString | newUserId | ) |
Gets or sets the user identifier.
void Jellyfin::DTO::AuthenticationInfo::setUserName | ( | QString | newUserName | ) |
void Jellyfin::DTO::AuthenticationInfo::setUserNameNull | ( | ) |
QJsonObject Jellyfin::DTO::AuthenticationInfo::toJson | ( | ) | const |
QString Jellyfin::DTO::AuthenticationInfo::userId | ( | ) | const |
Gets or sets the user identifier.
QString Jellyfin::DTO::AuthenticationInfo::userName | ( | ) | const |
bool Jellyfin::DTO::AuthenticationInfo::userNameNull | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |