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

#include <culturedto.h>

Public Member Functions

 CultureDto ()
 
 CultureDto (const CultureDto &other)
 
void replaceData (CultureDto &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString name () const
 Gets or sets the name.
 
void setName (QString newName)
 Gets or sets the name.
 
bool nameNull () const
 
void setNameNull ()
 
QString displayName () const
 Gets or sets the display name.
 
void setDisplayName (QString newDisplayName)
 Gets or sets the display name.
 
bool displayNameNull () const
 
void setDisplayNameNull ()
 
QString twoLetterISOLanguageName () const
 Gets or sets the name of the two letter ISO language.
 
void setTwoLetterISOLanguageName (QString newTwoLetterISOLanguageName)
 Gets or sets the name of the two letter ISO language.
 
bool twoLetterISOLanguageNameNull () const
 
void setTwoLetterISOLanguageNameNull ()
 
QString threeLetterISOLanguageName () const
 Gets or sets the name of the three letter ISO language.
 
void setThreeLetterISOLanguageName (QString newThreeLetterISOLanguageName)
 Gets or sets the name of the three letter ISO language.
 
bool threeLetterISOLanguageNameNull () const
 
void setThreeLetterISOLanguageNameNull ()
 
QStringList threeLetterISOLanguageNames () const
 
void setThreeLetterISOLanguageNames (QStringList newThreeLetterISOLanguageNames)
 
bool threeLetterISOLanguageNamesNull () const
 
void setThreeLetterISOLanguageNamesNull ()
 

Static Public Member Functions

static CultureDto fromJson (QJsonObject source)
 

Protected Attributes

QString m_name
 
QString m_displayName
 
QString m_twoLetterISOLanguageName
 
QString m_threeLetterISOLanguageName
 
QStringList m_threeLetterISOLanguageNames
 

Constructor & Destructor Documentation

◆ CultureDto() [1/2]

Jellyfin::DTO::CultureDto::CultureDto ( )

◆ CultureDto() [2/2]

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

Member Function Documentation

◆ displayName()

QString Jellyfin::DTO::CultureDto::displayName ( ) const

Gets or sets the display name.

◆ displayNameNull()

bool Jellyfin::DTO::CultureDto::displayNameNull ( ) const

◆ fromJson()

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

◆ name()

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

Gets or sets the name.

◆ nameNull()

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

◆ replaceData()

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

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

◆ setDisplayName()

void Jellyfin::DTO::CultureDto::setDisplayName ( QString newDisplayName)

Gets or sets the display name.

◆ setDisplayNameNull()

void Jellyfin::DTO::CultureDto::setDisplayNameNull ( )

◆ setFromJson()

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

◆ setName()

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

Gets or sets the name.

◆ setNameNull()

void Jellyfin::DTO::CultureDto::setNameNull ( )

◆ setThreeLetterISOLanguageName()

void Jellyfin::DTO::CultureDto::setThreeLetterISOLanguageName ( QString newThreeLetterISOLanguageName)

Gets or sets the name of the three letter ISO language.

◆ setThreeLetterISOLanguageNameNull()

void Jellyfin::DTO::CultureDto::setThreeLetterISOLanguageNameNull ( )

◆ setThreeLetterISOLanguageNames()

void Jellyfin::DTO::CultureDto::setThreeLetterISOLanguageNames ( QStringList newThreeLetterISOLanguageNames)

◆ setThreeLetterISOLanguageNamesNull()

void Jellyfin::DTO::CultureDto::setThreeLetterISOLanguageNamesNull ( )

◆ setTwoLetterISOLanguageName()

void Jellyfin::DTO::CultureDto::setTwoLetterISOLanguageName ( QString newTwoLetterISOLanguageName)

Gets or sets the name of the two letter ISO language.

◆ setTwoLetterISOLanguageNameNull()

void Jellyfin::DTO::CultureDto::setTwoLetterISOLanguageNameNull ( )

◆ threeLetterISOLanguageName()

QString Jellyfin::DTO::CultureDto::threeLetterISOLanguageName ( ) const

Gets or sets the name of the three letter ISO language.

◆ threeLetterISOLanguageNameNull()

bool Jellyfin::DTO::CultureDto::threeLetterISOLanguageNameNull ( ) const

◆ threeLetterISOLanguageNames()

QStringList Jellyfin::DTO::CultureDto::threeLetterISOLanguageNames ( ) const

◆ threeLetterISOLanguageNamesNull()

bool Jellyfin::DTO::CultureDto::threeLetterISOLanguageNamesNull ( ) const

◆ toJson()

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

◆ twoLetterISOLanguageName()

QString Jellyfin::DTO::CultureDto::twoLetterISOLanguageName ( ) const

Gets or sets the name of the two letter ISO language.

◆ twoLetterISOLanguageNameNull()

bool Jellyfin::DTO::CultureDto::twoLetterISOLanguageNameNull ( ) const

Member Data Documentation

◆ m_displayName

QString Jellyfin::DTO::CultureDto::m_displayName
protected

◆ m_name

QString Jellyfin::DTO::CultureDto::m_name
protected

◆ m_threeLetterISOLanguageName

QString Jellyfin::DTO::CultureDto::m_threeLetterISOLanguageName
protected

◆ m_threeLetterISOLanguageNames

QStringList Jellyfin::DTO::CultureDto::m_threeLetterISOLanguageNames
protected

◆ m_twoLetterISOLanguageName

QString Jellyfin::DTO::CultureDto::m_twoLetterISOLanguageName
protected

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