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

#include <updateusereasypassword.h>

Public Member Functions

 UpdateUserEasyPassword (bool resetPassword)
 
 UpdateUserEasyPassword (const UpdateUserEasyPassword &other)
 
void replaceData (UpdateUserEasyPassword &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString newPassword () const
 Gets or sets the new sha1-hashed password.
 
void setNewPassword (QString newNewPassword)
 Gets or sets the new sha1-hashed password.
 
bool newPasswordNull () const
 
void setNewPasswordNull ()
 
QString newPw () const
 Gets or sets the new password.
 
void setNewPw (QString newNewPw)
 Gets or sets the new 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 UpdateUserEasyPassword fromJson (QJsonObject source)
 

Protected Attributes

QString m_newPassword
 
QString m_newPw
 
bool m_resetPassword
 

Constructor & Destructor Documentation

◆ UpdateUserEasyPassword() [1/2]

Jellyfin::DTO::UpdateUserEasyPassword::UpdateUserEasyPassword ( bool resetPassword)

◆ UpdateUserEasyPassword() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ newPassword()

QString Jellyfin::DTO::UpdateUserEasyPassword::newPassword ( ) const

Gets or sets the new sha1-hashed password.

◆ newPasswordNull()

bool Jellyfin::DTO::UpdateUserEasyPassword::newPasswordNull ( ) const

◆ newPw()

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

Gets or sets the new password.

◆ newPwNull()

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

◆ replaceData()

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

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

◆ resetPassword()

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

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

◆ setFromJson()

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

◆ setNewPassword()

void Jellyfin::DTO::UpdateUserEasyPassword::setNewPassword ( QString newNewPassword)

Gets or sets the new sha1-hashed password.

◆ setNewPasswordNull()

void Jellyfin::DTO::UpdateUserEasyPassword::setNewPasswordNull ( )

◆ setNewPw()

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

Gets or sets the new password.

◆ setNewPwNull()

void Jellyfin::DTO::UpdateUserEasyPassword::setNewPwNull ( )

◆ setResetPassword()

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

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

◆ toJson()

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

Member Data Documentation

◆ m_newPassword

QString Jellyfin::DTO::UpdateUserEasyPassword::m_newPassword
protected

◆ m_newPw

QString Jellyfin::DTO::UpdateUserEasyPassword::m_newPw
protected

◆ m_resetPassword

bool Jellyfin::DTO::UpdateUserEasyPassword::m_resetPassword
protected

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