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)
 
 QuickConnectResult (const QuickConnectResult &other)
 
void replaceData (QuickConnectResult &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
bool authenticated () const
 Gets a value indicating whether this request is authorized.
 
void setAuthenticated (bool newAuthenticated)
 Gets a value indicating whether this request is authorized.
 
QString secret () const
 Gets or sets the secret value used to uniquely identify this request. Can be used to retrieve authentication information.
 
void setSecret (QString newSecret)
 Gets or sets the secret value used to uniquely identify this request. Can be used to retrieve authentication information.
 
bool secretNull () const
 
void setSecretNull ()
 
QString code () const
 Gets or sets the user facing code used so the user can quickly differentiate this request from others.
 
void setCode (QString newCode)
 Gets or sets the user facing code used so the user can quickly differentiate this request from others.
 
bool codeNull () const
 
void setCodeNull ()
 
QString authentication () const
 Gets or sets the private access token.
 
void setAuthentication (QString newAuthentication)
 Gets or sets the private access token.
 
bool authenticationNull () const
 
void setAuthenticationNull ()
 
QString error () const
 Gets or sets an error message.
 
void setError (QString newError)
 Gets or sets an error message.
 
bool errorNull () const
 
void setErrorNull ()
 
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.
 
bool dateAddedNull () const
 
void setDateAddedNull ()
 

Static Public Member Functions

static QuickConnectResult fromJson (QJsonObject source)
 

Protected Attributes

bool m_authenticated
 
QString m_secret
 
QString m_code
 
QString m_authentication
 
QString m_error
 
QDateTime m_dateAdded
 

Constructor & Destructor Documentation

◆ QuickConnectResult() [1/2]

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

◆ QuickConnectResult() [2/2]

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

Member Function Documentation

◆ authenticated()

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

Gets a value indicating whether this request is authorized.

◆ authentication()

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

Gets or sets the private access token.

◆ authenticationNull()

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

◆ code()

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

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

◆ codeNull()

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

◆ dateAdded()

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

Gets or sets the DateTime that this request was created.

◆ dateAddedNull()

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

◆ error()

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

Gets or sets an error message.

◆ errorNull()

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

◆ 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 or sets the secret value used to uniquely identify this request. Can be used to retrieve authentication information.

◆ secretNull()

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

◆ setAuthenticated()

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

Gets a value indicating whether this request is authorized.

◆ setAuthentication()

void Jellyfin::DTO::QuickConnectResult::setAuthentication ( QString newAuthentication)

Gets or sets the private access token.

◆ setAuthenticationNull()

void Jellyfin::DTO::QuickConnectResult::setAuthenticationNull ( )

◆ setCode()

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

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

◆ setCodeNull()

void Jellyfin::DTO::QuickConnectResult::setCodeNull ( )

◆ setDateAdded()

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

Gets or sets the DateTime that this request was created.

◆ setDateAddedNull()

void Jellyfin::DTO::QuickConnectResult::setDateAddedNull ( )

◆ setError()

void Jellyfin::DTO::QuickConnectResult::setError ( QString newError)

Gets or sets an error message.

◆ setErrorNull()

void Jellyfin::DTO::QuickConnectResult::setErrorNull ( )

◆ setFromJson()

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

◆ setSecret()

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

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

◆ setSecretNull()

void Jellyfin::DTO::QuickConnectResult::setSecretNull ( )

◆ toJson()

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

Member Data Documentation

◆ m_authenticated

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

◆ m_authentication

QString Jellyfin::DTO::QuickConnectResult::m_authentication
protected

◆ m_code

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

◆ m_dateAdded

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

◆ m_error

QString Jellyfin::DTO::QuickConnectResult::m_error
protected

◆ m_secret

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

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