![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#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 |
| Jellyfin::DTO::QuickConnectResult::QuickConnectResult | ( | bool | authenticated, |
| QString | secret, | ||
| QString | code, | ||
| QString | deviceId, | ||
| QString | deviceName, | ||
| QString | appName, | ||
| QString | appVersion, | ||
| QDateTime | dateAdded ) |
| Jellyfin::DTO::QuickConnectResult::QuickConnectResult | ( | const QuickConnectResult & | other | ) |
| QString Jellyfin::DTO::QuickConnectResult::appName | ( | ) | const |
Gets the requesting app name.
| QString Jellyfin::DTO::QuickConnectResult::appVersion | ( | ) | const |
Gets the requesting app version.
| bool Jellyfin::DTO::QuickConnectResult::authenticated | ( | ) | const |
Gets or sets a value indicating whether this request is authorized.
| QString Jellyfin::DTO::QuickConnectResult::code | ( | ) | const |
Gets the user facing code used so the user can quickly differentiate this request from others.
| QDateTime Jellyfin::DTO::QuickConnectResult::dateAdded | ( | ) | const |
Gets or sets the DateTime that this request was created.
| QString Jellyfin::DTO::QuickConnectResult::deviceId | ( | ) | const |
Gets the requesting device id.
| QString Jellyfin::DTO::QuickConnectResult::deviceName | ( | ) | const |
Gets the requesting device name.
|
static |
| void Jellyfin::DTO::QuickConnectResult::replaceData | ( | QuickConnectResult & | other | ) |
Replaces the data being hold by this class with that of the other.
| QString Jellyfin::DTO::QuickConnectResult::secret | ( | ) | const |
Gets the secret value used to uniquely identify this request. Can be used to retrieve authentication information.
| void Jellyfin::DTO::QuickConnectResult::setAppName | ( | QString | newAppName | ) |
Gets the requesting app name.
| void Jellyfin::DTO::QuickConnectResult::setAppVersion | ( | QString | newAppVersion | ) |
Gets the requesting app version.
| void Jellyfin::DTO::QuickConnectResult::setAuthenticated | ( | bool | newAuthenticated | ) |
Gets or sets a value indicating whether this request is authorized.
| void Jellyfin::DTO::QuickConnectResult::setCode | ( | QString | newCode | ) |
Gets the user facing code used so the user can quickly differentiate this request from others.
| void Jellyfin::DTO::QuickConnectResult::setDateAdded | ( | QDateTime | newDateAdded | ) |
Gets or sets the DateTime that this request was created.
| void Jellyfin::DTO::QuickConnectResult::setDeviceId | ( | QString | newDeviceId | ) |
Gets the requesting device id.
| void Jellyfin::DTO::QuickConnectResult::setDeviceName | ( | QString | newDeviceName | ) |
Gets the requesting device name.
| void Jellyfin::DTO::QuickConnectResult::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::QuickConnectResult::setSecret | ( | QString | newSecret | ) |
Gets the secret value used to uniquely identify this request. Can be used to retrieve authentication information.
| QJsonObject Jellyfin::DTO::QuickConnectResult::toJson | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |