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

#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
 

Constructor & Destructor Documentation

◆ AuthenticationInfo() [1/2]

Jellyfin::DTO::AuthenticationInfo::AuthenticationInfo ( qint64 jellyfinId,
QString userId,
bool isActive,
QDateTime dateCreated,
QDateTime dateLastActivity )

◆ AuthenticationInfo() [2/2]

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

Member Function Documentation

◆ accessToken()

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

Gets or sets the access token.

◆ accessTokenNull()

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

◆ appName()

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

Gets or sets the name of the application.

◆ appNameNull()

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

◆ appVersion()

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

Gets or sets the application version.

◆ appVersionNull()

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

◆ dateCreated()

QDateTime Jellyfin::DTO::AuthenticationInfo::dateCreated ( ) const

Gets or sets the date created.

◆ dateLastActivity()

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

◆ dateRevoked()

QDateTime Jellyfin::DTO::AuthenticationInfo::dateRevoked ( ) const

Gets or sets the date revoked.

◆ dateRevokedNull()

bool Jellyfin::DTO::AuthenticationInfo::dateRevokedNull ( ) const

◆ deviceId()

QString Jellyfin::DTO::AuthenticationInfo::deviceId ( ) const

Gets or sets the device identifier.

◆ deviceIdNull()

bool Jellyfin::DTO::AuthenticationInfo::deviceIdNull ( ) const

◆ deviceName()

QString Jellyfin::DTO::AuthenticationInfo::deviceName ( ) const

Gets or sets the name of the device.

◆ deviceNameNull()

bool Jellyfin::DTO::AuthenticationInfo::deviceNameNull ( ) const

◆ fromJson()

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

◆ isActive()

bool Jellyfin::DTO::AuthenticationInfo::isActive ( ) const

Gets or sets a value indicating whether this instance is active.

◆ jellyfinId()

qint64 Jellyfin::DTO::AuthenticationInfo::jellyfinId ( ) const

Gets or sets the identifier.

◆ replaceData()

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

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

◆ setAccessToken()

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

Gets or sets the access token.

◆ setAccessTokenNull()

void Jellyfin::DTO::AuthenticationInfo::setAccessTokenNull ( )

◆ setAppName()

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

Gets or sets the name of the application.

◆ setAppNameNull()

void Jellyfin::DTO::AuthenticationInfo::setAppNameNull ( )

◆ setAppVersion()

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

Gets or sets the application version.

◆ setAppVersionNull()

void Jellyfin::DTO::AuthenticationInfo::setAppVersionNull ( )

◆ setDateCreated()

void Jellyfin::DTO::AuthenticationInfo::setDateCreated ( QDateTime newDateCreated)

Gets or sets the date created.

◆ setDateLastActivity()

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

◆ setDateRevoked()

void Jellyfin::DTO::AuthenticationInfo::setDateRevoked ( QDateTime newDateRevoked)

Gets or sets the date revoked.

◆ setDateRevokedNull()

void Jellyfin::DTO::AuthenticationInfo::setDateRevokedNull ( )

◆ setDeviceId()

void Jellyfin::DTO::AuthenticationInfo::setDeviceId ( QString newDeviceId)

Gets or sets the device identifier.

◆ setDeviceIdNull()

void Jellyfin::DTO::AuthenticationInfo::setDeviceIdNull ( )

◆ setDeviceName()

void Jellyfin::DTO::AuthenticationInfo::setDeviceName ( QString newDeviceName)

Gets or sets the name of the device.

◆ setDeviceNameNull()

void Jellyfin::DTO::AuthenticationInfo::setDeviceNameNull ( )

◆ setFromJson()

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

◆ setIsActive()

void Jellyfin::DTO::AuthenticationInfo::setIsActive ( bool newIsActive)

Gets or sets a value indicating whether this instance is active.

◆ setJellyfinId()

void Jellyfin::DTO::AuthenticationInfo::setJellyfinId ( qint64 newJellyfinId)

Gets or sets the identifier.

◆ setUserId()

void Jellyfin::DTO::AuthenticationInfo::setUserId ( QString newUserId)

Gets or sets the user identifier.

◆ setUserName()

void Jellyfin::DTO::AuthenticationInfo::setUserName ( QString newUserName)

◆ setUserNameNull()

void Jellyfin::DTO::AuthenticationInfo::setUserNameNull ( )

◆ toJson()

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

◆ userId()

QString Jellyfin::DTO::AuthenticationInfo::userId ( ) const

Gets or sets the user identifier.

◆ userName()

QString Jellyfin::DTO::AuthenticationInfo::userName ( ) const

◆ userNameNull()

bool Jellyfin::DTO::AuthenticationInfo::userNameNull ( ) const

Member Data Documentation

◆ m_accessToken

QString Jellyfin::DTO::AuthenticationInfo::m_accessToken
protected

◆ m_appName

QString Jellyfin::DTO::AuthenticationInfo::m_appName
protected

◆ m_appVersion

QString Jellyfin::DTO::AuthenticationInfo::m_appVersion
protected

◆ m_dateCreated

QDateTime Jellyfin::DTO::AuthenticationInfo::m_dateCreated
protected

◆ m_dateLastActivity

QDateTime Jellyfin::DTO::AuthenticationInfo::m_dateLastActivity
protected

◆ m_dateRevoked

QDateTime Jellyfin::DTO::AuthenticationInfo::m_dateRevoked
protected

◆ m_deviceId

QString Jellyfin::DTO::AuthenticationInfo::m_deviceId
protected

◆ m_deviceName

QString Jellyfin::DTO::AuthenticationInfo::m_deviceName
protected

◆ m_isActive

bool Jellyfin::DTO::AuthenticationInfo::m_isActive
protected

◆ m_jellyfinId

qint64 Jellyfin::DTO::AuthenticationInfo::m_jellyfinId
protected

◆ m_userId

QString Jellyfin::DTO::AuthenticationInfo::m_userId
protected

◆ m_userName

QString Jellyfin::DTO::AuthenticationInfo::m_userName
protected

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