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

#include <startupuserdto.h>

Public Member Functions

 StartupUserDto ()
 
 StartupUserDto (const StartupUserDto &other)
 
void replaceData (StartupUserDto &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 user's password.
 
void setPassword (QString newPassword)
 Gets or sets the user's password.
 
bool passwordNull () const
 
void setPasswordNull ()
 

Static Public Member Functions

static StartupUserDto fromJson (QJsonObject source)
 

Protected Attributes

QString m_name
 
QString m_password
 

Constructor & Destructor Documentation

◆ StartupUserDto() [1/2]

Jellyfin::DTO::StartupUserDto::StartupUserDto ( )

◆ StartupUserDto() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ name()

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

Gets or sets the username.

◆ nameNull()

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

◆ password()

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

Gets or sets the user's password.

◆ passwordNull()

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

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setName()

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

Gets or sets the username.

◆ setNameNull()

void Jellyfin::DTO::StartupUserDto::setNameNull ( )

◆ setPassword()

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

Gets or sets the user's password.

◆ setPasswordNull()

void Jellyfin::DTO::StartupUserDto::setPasswordNull ( )

◆ toJson()

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

Member Data Documentation

◆ m_name

QString Jellyfin::DTO::StartupUserDto::m_name
protected

◆ m_password

QString Jellyfin::DTO::StartupUserDto::m_password
protected

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