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

#include <authenticateuserbyname.h>

Public Member Functions

 AuthenticateUserByName ()
 
 AuthenticateUserByName (const AuthenticateUserByName &other)
 
void replaceData (AuthenticateUserByName &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString username () const
 Gets or sets the username.
 
void setUsername (QString newUsername)
 Gets or sets the username.
 
bool usernameNull () const
 
void setUsernameNull ()
 
QString pw () const
 Gets or sets the plain text password.
 
void setPw (QString newPw)
 Gets or sets the plain text password.
 
bool pwNull () const
 
void setPwNull ()
 
QString password () const
 Gets or sets the sha1-hashed password.
 
void setPassword (QString newPassword)
 Gets or sets the sha1-hashed password.
 
bool passwordNull () const
 
void setPasswordNull ()
 

Static Public Member Functions

static AuthenticateUserByName fromJson (QJsonObject source)
 

Protected Attributes

QString m_username
 
QString m_pw
 
QString m_password
 

Constructor & Destructor Documentation

◆ AuthenticateUserByName() [1/2]

Jellyfin::DTO::AuthenticateUserByName::AuthenticateUserByName ( )

◆ AuthenticateUserByName() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ password()

QString Jellyfin::DTO::AuthenticateUserByName::password ( ) const

Gets or sets the sha1-hashed password.

◆ passwordNull()

bool Jellyfin::DTO::AuthenticateUserByName::passwordNull ( ) const

◆ pw()

QString Jellyfin::DTO::AuthenticateUserByName::pw ( ) const

Gets or sets the plain text password.

◆ pwNull()

bool Jellyfin::DTO::AuthenticateUserByName::pwNull ( ) const

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setPassword()

void Jellyfin::DTO::AuthenticateUserByName::setPassword ( QString newPassword)

Gets or sets the sha1-hashed password.

◆ setPasswordNull()

void Jellyfin::DTO::AuthenticateUserByName::setPasswordNull ( )

◆ setPw()

void Jellyfin::DTO::AuthenticateUserByName::setPw ( QString newPw)

Gets or sets the plain text password.

◆ setPwNull()

void Jellyfin::DTO::AuthenticateUserByName::setPwNull ( )

◆ setUsername()

void Jellyfin::DTO::AuthenticateUserByName::setUsername ( QString newUsername)

Gets or sets the username.

◆ setUsernameNull()

void Jellyfin::DTO::AuthenticateUserByName::setUsernameNull ( )

◆ toJson()

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

◆ username()

QString Jellyfin::DTO::AuthenticateUserByName::username ( ) const

Gets or sets the username.

◆ usernameNull()

bool Jellyfin::DTO::AuthenticateUserByName::usernameNull ( ) const

Member Data Documentation

◆ m_password

QString Jellyfin::DTO::AuthenticateUserByName::m_password
protected

◆ m_pw

QString Jellyfin::DTO::AuthenticateUserByName::m_pw
protected

◆ m_username

QString Jellyfin::DTO::AuthenticateUserByName::m_username
protected

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