30#ifndef JELLYFIN_DTO_QUICKCONNECTRESULT_H
31#define JELLYFIN_DTO_QUICKCONNECTRESULT_H
71 QJsonObject
toJson()
const;
An Api client for Jellyfin. Handles requests and authentication.
Definition apiclient.h:90
Definition quickconnectresult.h:49
static QuickConnectResult fromJson(QJsonObject source)
Definition quickconnectresult.cpp:80
void setAppName(QString newAppName)
Gets the requesting app name.
Definition quickconnectresult.cpp:145
QDateTime m_dateAdded
Definition quickconnectresult.h:155
QString appName() const
Gets the requesting app name.
Definition quickconnectresult.cpp:143
QJsonObject toJson() const
Definition quickconnectresult.cpp:99
QuickConnectResult(bool authenticated, QString secret, QString code, QString deviceId, QString deviceName, QString appName, QString appVersion, QDateTime dateAdded)
Definition quickconnectresult.cpp:36
QString m_appVersion
Definition quickconnectresult.h:154
void setDeviceId(QString newDeviceId)
Gets the requesting device id.
Definition quickconnectresult.cpp:133
QString m_code
Definition quickconnectresult.h:150
bool m_authenticated
Definition quickconnectresult.h:148
void setDateAdded(QDateTime newDateAdded)
Gets or sets the DateTime that this request was created.
Definition quickconnectresult.cpp:157
void setCode(QString newCode)
Gets the user facing code used so the user can quickly differentiate this request from others.
Definition quickconnectresult.cpp:127
void setAuthenticated(bool newAuthenticated)
Gets or sets a value indicating whether this request is authorized.
Definition quickconnectresult.cpp:115
QString secret() const
Gets the secret value used to uniquely identify this request. Can be used to retrieve authentication ...
Definition quickconnectresult.cpp:119
void setFromJson(QJsonObject source)
Definition quickconnectresult.cpp:87
QString code() const
Gets the user facing code used so the user can quickly differentiate this request from others.
Definition quickconnectresult.cpp:125
QString m_deviceName
Definition quickconnectresult.h:152
QString m_deviceId
Definition quickconnectresult.h:151
QString m_secret
Definition quickconnectresult.h:149
QString deviceId() const
Gets the requesting device id.
Definition quickconnectresult.cpp:131
void setSecret(QString newSecret)
Gets the secret value used to uniquely identify this request. Can be used to retrieve authentication ...
Definition quickconnectresult.cpp:121
QString appVersion() const
Gets the requesting app version.
Definition quickconnectresult.cpp:149
void replaceData(QuickConnectResult &other)
Definition quickconnectresult.cpp:69
QString m_appName
Definition quickconnectresult.h:153
QString deviceName() const
Gets the requesting device name.
Definition quickconnectresult.cpp:137
void setAppVersion(QString newAppVersion)
Gets the requesting app version.
Definition quickconnectresult.cpp:151
void setDeviceName(QString newDeviceName)
Gets the requesting device name.
Definition quickconnectresult.cpp:139
bool authenticated() const
Gets or sets a value indicating whether this request is authorized.
Definition quickconnectresult.cpp:113
QDateTime dateAdded() const
Gets or sets the DateTime that this request was created.
Definition quickconnectresult.cpp:155
Contains auto-generated Data Transfer Objects for the Jellyfin HTTP API.
Definition accessschedule.h:128
AccessSchedule fromJsonValue(const QJsonValue &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:133
Jellyfin::DTO::QuickConnectResult QuickConnectResult
Definition quickconnectresult.h:167
QJsonValue toJsonValue(const AccessSchedule &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:139
Definition jsonconvimpl.h:45