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

#include <createuserbyname.h>

Public Member Functions

 CreateUserByName ()
 
 CreateUserByName (const CreateUserByName &other)
 
void replaceData (CreateUserByName &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString name () const
 Gets or sets the username.
 
void setName (QString newName)
 Gets or sets the username.
 
bool nameNull () const
 
void setNameNull ()
 
QString password () const
 Gets or sets the password.
 
void setPassword (QString newPassword)
 Gets or sets the password.
 
bool passwordNull () const
 
void setPasswordNull ()
 

Static Public Member Functions

static CreateUserByName fromJson (QJsonObject source)
 

Protected Attributes

QString m_name
 
QString m_password
 

Constructor & Destructor Documentation

◆ CreateUserByName() [1/2]

Jellyfin::DTO::CreateUserByName::CreateUserByName ( )

◆ CreateUserByName() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ name()

QString Jellyfin::DTO::CreateUserByName::name ( ) const

Gets or sets the username.

◆ nameNull()

bool Jellyfin::DTO::CreateUserByName::nameNull ( ) const

◆ password()

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

Gets or sets the password.

◆ passwordNull()

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

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setName()

void Jellyfin::DTO::CreateUserByName::setName ( QString newName)

Gets or sets the username.

◆ setNameNull()

void Jellyfin::DTO::CreateUserByName::setNameNull ( )

◆ setPassword()

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

Gets or sets the password.

◆ setPasswordNull()

void Jellyfin::DTO::CreateUserByName::setPasswordNull ( )

◆ toJson()

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

Member Data Documentation

◆ m_name

QString Jellyfin::DTO::CreateUserByName::m_name
protected

◆ m_password

QString Jellyfin::DTO::CreateUserByName::m_password
protected

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