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

#include <updateuserpassword.h>

Public Member Functions

 UpdateUserPassword (bool resetPassword)
 
 UpdateUserPassword (const UpdateUserPassword &other)
 
void replaceData (UpdateUserPassword &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString currentPassword () const
 Gets or sets the current sha1-hashed password.
 
void setCurrentPassword (QString newCurrentPassword)
 Gets or sets the current sha1-hashed password.
 
bool currentPasswordNull () const
 
void setCurrentPasswordNull ()
 
QString currentPw () const
 Gets or sets the current plain text password.
 
void setCurrentPw (QString newCurrentPw)
 Gets or sets the current plain text password.
 
bool currentPwNull () const
 
void setCurrentPwNull ()
 
QString newPw () const
 Gets or sets the new plain text password.
 
void setNewPw (QString newNewPw)
 Gets or sets the new plain text password.
 
bool newPwNull () const
 
void setNewPwNull ()
 
bool resetPassword () const
 Gets or sets a value indicating whether to reset the password.
 
void setResetPassword (bool newResetPassword)
 Gets or sets a value indicating whether to reset the password.
 

Static Public Member Functions

static UpdateUserPassword fromJson (QJsonObject source)
 

Protected Attributes

QString m_currentPassword
 
QString m_currentPw
 
QString m_newPw
 
bool m_resetPassword
 

Constructor & Destructor Documentation

◆ UpdateUserPassword() [1/2]

Jellyfin::DTO::UpdateUserPassword::UpdateUserPassword ( bool resetPassword)

◆ UpdateUserPassword() [2/2]

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

Member Function Documentation

◆ currentPassword()

QString Jellyfin::DTO::UpdateUserPassword::currentPassword ( ) const

Gets or sets the current sha1-hashed password.

◆ currentPasswordNull()

bool Jellyfin::DTO::UpdateUserPassword::currentPasswordNull ( ) const

◆ currentPw()

QString Jellyfin::DTO::UpdateUserPassword::currentPw ( ) const

Gets or sets the current plain text password.

◆ currentPwNull()

bool Jellyfin::DTO::UpdateUserPassword::currentPwNull ( ) const

◆ fromJson()

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

◆ newPw()

QString Jellyfin::DTO::UpdateUserPassword::newPw ( ) const

Gets or sets the new plain text password.

◆ newPwNull()

bool Jellyfin::DTO::UpdateUserPassword::newPwNull ( ) const

◆ replaceData()

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

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

◆ resetPassword()

bool Jellyfin::DTO::UpdateUserPassword::resetPassword ( ) const

Gets or sets a value indicating whether to reset the password.

◆ setCurrentPassword()

void Jellyfin::DTO::UpdateUserPassword::setCurrentPassword ( QString newCurrentPassword)

Gets or sets the current sha1-hashed password.

◆ setCurrentPasswordNull()

void Jellyfin::DTO::UpdateUserPassword::setCurrentPasswordNull ( )

◆ setCurrentPw()

void Jellyfin::DTO::UpdateUserPassword::setCurrentPw ( QString newCurrentPw)

Gets or sets the current plain text password.

◆ setCurrentPwNull()

void Jellyfin::DTO::UpdateUserPassword::setCurrentPwNull ( )

◆ setFromJson()

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

◆ setNewPw()

void Jellyfin::DTO::UpdateUserPassword::setNewPw ( QString newNewPw)

Gets or sets the new plain text password.

◆ setNewPwNull()

void Jellyfin::DTO::UpdateUserPassword::setNewPwNull ( )

◆ setResetPassword()

void Jellyfin::DTO::UpdateUserPassword::setResetPassword ( bool newResetPassword)

Gets or sets a value indicating whether to reset the password.

◆ toJson()

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

Member Data Documentation

◆ m_currentPassword

QString Jellyfin::DTO::UpdateUserPassword::m_currentPassword
protected

◆ m_currentPw

QString Jellyfin::DTO::UpdateUserPassword::m_currentPw
protected

◆ m_newPw

QString Jellyfin::DTO::UpdateUserPassword::m_newPw
protected

◆ m_resetPassword

bool Jellyfin::DTO::UpdateUserPassword::m_resetPassword
protected

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