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

#include <countryinfo.h>

Public Member Functions

 CountryInfo ()
 
 CountryInfo (const CountryInfo &other)
 
void replaceData (CountryInfo &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 twoLetterISORegionName () const
 Gets or sets the name of the two letter ISO region.
 
void setTwoLetterISORegionName (QString newTwoLetterISORegionName)
 Gets or sets the name of the two letter ISO region.
 
bool twoLetterISORegionNameNull () const
 
void setTwoLetterISORegionNameNull ()
 
QString threeLetterISORegionName () const
 Gets or sets the name of the three letter ISO region.
 
void setThreeLetterISORegionName (QString newThreeLetterISORegionName)
 Gets or sets the name of the three letter ISO region.
 
bool threeLetterISORegionNameNull () const
 
void setThreeLetterISORegionNameNull ()
 

Static Public Member Functions

static CountryInfo fromJson (QJsonObject source)
 

Protected Attributes

QString m_name
 
QString m_displayName
 
QString m_twoLetterISORegionName
 
QString m_threeLetterISORegionName
 

Constructor & Destructor Documentation

◆ CountryInfo() [1/2]

Jellyfin::DTO::CountryInfo::CountryInfo ( )

◆ CountryInfo() [2/2]

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

Member Function Documentation

◆ displayName()

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

Gets or sets the display name.

◆ displayNameNull()

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

◆ fromJson()

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

◆ name()

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

Gets or sets the name.

◆ nameNull()

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

◆ replaceData()

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

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

◆ setDisplayName()

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

Gets or sets the display name.

◆ setDisplayNameNull()

void Jellyfin::DTO::CountryInfo::setDisplayNameNull ( )

◆ setFromJson()

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

◆ setName()

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

Gets or sets the name.

◆ setNameNull()

void Jellyfin::DTO::CountryInfo::setNameNull ( )

◆ setThreeLetterISORegionName()

void Jellyfin::DTO::CountryInfo::setThreeLetterISORegionName ( QString newThreeLetterISORegionName)

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

◆ setThreeLetterISORegionNameNull()

void Jellyfin::DTO::CountryInfo::setThreeLetterISORegionNameNull ( )

◆ setTwoLetterISORegionName()

void Jellyfin::DTO::CountryInfo::setTwoLetterISORegionName ( QString newTwoLetterISORegionName)

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

◆ setTwoLetterISORegionNameNull()

void Jellyfin::DTO::CountryInfo::setTwoLetterISORegionNameNull ( )

◆ threeLetterISORegionName()

QString Jellyfin::DTO::CountryInfo::threeLetterISORegionName ( ) const

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

◆ threeLetterISORegionNameNull()

bool Jellyfin::DTO::CountryInfo::threeLetterISORegionNameNull ( ) const

◆ toJson()

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

◆ twoLetterISORegionName()

QString Jellyfin::DTO::CountryInfo::twoLetterISORegionName ( ) const

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

◆ twoLetterISORegionNameNull()

bool Jellyfin::DTO::CountryInfo::twoLetterISORegionNameNull ( ) const

Member Data Documentation

◆ m_displayName

QString Jellyfin::DTO::CountryInfo::m_displayName
protected

◆ m_name

QString Jellyfin::DTO::CountryInfo::m_name
protected

◆ m_threeLetterISORegionName

QString Jellyfin::DTO::CountryInfo::m_threeLetterISORegionName
protected

◆ m_twoLetterISORegionName

QString Jellyfin::DTO::CountryInfo::m_twoLetterISORegionName
protected

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