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

#include <quickconnectresult.h>

Public Member Functions

 QuickConnectResult (bool authenticated, QString secret, QString code, QString deviceId, QString deviceName, QString appName, QString appVersion, QDateTime dateAdded)
 QuickConnectResult (const QuickConnectResult &other)
void replaceData (QuickConnectResult &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
bool authenticated () const
 Gets or sets a value indicating whether this request is authorized.
void setAuthenticated (bool newAuthenticated)
 Gets or sets a value indicating whether this request is authorized.
QString secret () const
 Gets the secret value used to uniquely identify this request. Can be used to retrieve authentication information.
void setSecret (QString newSecret)
 Gets the secret value used to uniquely identify this request. Can be used to retrieve authentication information.
QString code () const
 Gets the user facing code used so the user can quickly differentiate this request from others.
void setCode (QString newCode)
 Gets the user facing code used so the user can quickly differentiate this request from others.
QString deviceId () const
 Gets the requesting device id.
void setDeviceId (QString newDeviceId)
 Gets the requesting device id.
QString deviceName () const
 Gets the requesting device name.
void setDeviceName (QString newDeviceName)
 Gets the requesting device name.
QString appName () const
 Gets the requesting app name.
void setAppName (QString newAppName)
 Gets the requesting app name.
QString appVersion () const
 Gets the requesting app version.
void setAppVersion (QString newAppVersion)
 Gets the requesting app version.
QDateTime dateAdded () const
 Gets or sets the DateTime that this request was created.
void setDateAdded (QDateTime newDateAdded)
 Gets or sets the DateTime that this request was created.

Static Public Member Functions

static QuickConnectResult fromJson (QJsonObject source)

Protected Attributes

bool m_authenticated
QString m_secret
QString m_code
QString m_deviceId
QString m_deviceName
QString m_appName
QString m_appVersion
QDateTime m_dateAdded

Constructor & Destructor Documentation

◆ QuickConnectResult() [1/2]

Jellyfin::DTO::QuickConnectResult::QuickConnectResult ( bool authenticated,
QString secret,
QString code,
QString deviceId,
QString deviceName,
QString appName,
QString appVersion,
QDateTime dateAdded )

◆ QuickConnectResult() [2/2]

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

Member Function Documentation

◆ appName()

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

Gets the requesting app name.

◆ appVersion()

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

Gets the requesting app version.

◆ authenticated()

bool Jellyfin::DTO::QuickConnectResult::authenticated ( ) const

Gets or sets a value indicating whether this request is authorized.

◆ code()

QString Jellyfin::DTO::QuickConnectResult::code ( ) const

Gets the user facing code used so the user can quickly differentiate this request from others.

◆ dateAdded()

QDateTime Jellyfin::DTO::QuickConnectResult::dateAdded ( ) const

Gets or sets the DateTime that this request was created.

◆ deviceId()

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

Gets the requesting device id.

◆ deviceName()

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

Gets the requesting device name.

◆ fromJson()

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

◆ replaceData()

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

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

◆ secret()

QString Jellyfin::DTO::QuickConnectResult::secret ( ) const

Gets the secret value used to uniquely identify this request. Can be used to retrieve authentication information.

◆ setAppName()

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

Gets the requesting app name.

◆ setAppVersion()

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

Gets the requesting app version.

◆ setAuthenticated()

void Jellyfin::DTO::QuickConnectResult::setAuthenticated ( bool newAuthenticated)

Gets or sets a value indicating whether this request is authorized.

◆ setCode()

void Jellyfin::DTO::QuickConnectResult::setCode ( QString newCode)

Gets the user facing code used so the user can quickly differentiate this request from others.

◆ setDateAdded()

void Jellyfin::DTO::QuickConnectResult::setDateAdded ( QDateTime newDateAdded)

Gets or sets the DateTime that this request was created.

◆ setDeviceId()

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

Gets the requesting device id.

◆ setDeviceName()

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

Gets the requesting device name.

◆ setFromJson()

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

◆ setSecret()

void Jellyfin::DTO::QuickConnectResult::setSecret ( QString newSecret)

Gets the secret value used to uniquely identify this request. Can be used to retrieve authentication information.

◆ toJson()

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

Member Data Documentation

◆ m_appName

QString Jellyfin::DTO::QuickConnectResult::m_appName
protected

◆ m_appVersion

QString Jellyfin::DTO::QuickConnectResult::m_appVersion
protected

◆ m_authenticated

bool Jellyfin::DTO::QuickConnectResult::m_authenticated
protected

◆ m_code

QString Jellyfin::DTO::QuickConnectResult::m_code
protected

◆ m_dateAdded

QDateTime Jellyfin::DTO::QuickConnectResult::m_dateAdded
protected

◆ m_deviceId

QString Jellyfin::DTO::QuickConnectResult::m_deviceId
protected

◆ m_deviceName

QString Jellyfin::DTO::QuickConnectResult::m_deviceName
protected

◆ m_secret

QString Jellyfin::DTO::QuickConnectResult::m_secret
protected

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