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

#include <personlookupinfo.h>

Public Member Functions

 PersonLookupInfo (bool isAutomated)
 
 PersonLookupInfo (const PersonLookupInfo &other)
 
void replaceData (PersonLookupInfo &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 path () const
 Gets or sets the path.
 
void setPath (QString newPath)
 Gets or sets the path.
 
bool pathNull () const
 
void setPathNull ()
 
QString metadataLanguage () const
 Gets or sets the metadata language.
 
void setMetadataLanguage (QString newMetadataLanguage)
 Gets or sets the metadata language.
 
bool metadataLanguageNull () const
 
void setMetadataLanguageNull ()
 
QString metadataCountryCode () const
 Gets or sets the metadata country code.
 
void setMetadataCountryCode (QString newMetadataCountryCode)
 Gets or sets the metadata country code.
 
bool metadataCountryCodeNull () const
 
void setMetadataCountryCodeNull ()
 
QJsonObject providerIds () const
 Gets or sets the provider ids.
 
void setProviderIds (QJsonObject newProviderIds)
 Gets or sets the provider ids.
 
bool providerIdsNull () const
 
void setProviderIdsNull ()
 
std::optional< qint32 > year () const
 Gets or sets the year.
 
void setYear (std::optional< qint32 > newYear)
 Gets or sets the year.
 
bool yearNull () const
 
void setYearNull ()
 
std::optional< qint32 > indexNumber () const
 
void setIndexNumber (std::optional< qint32 > newIndexNumber)
 
bool indexNumberNull () const
 
void setIndexNumberNull ()
 
std::optional< qint32 > parentIndexNumber () const
 
void setParentIndexNumber (std::optional< qint32 > newParentIndexNumber)
 
bool parentIndexNumberNull () const
 
void setParentIndexNumberNull ()
 
QDateTime premiereDate () const
 
void setPremiereDate (QDateTime newPremiereDate)
 
bool premiereDateNull () const
 
void setPremiereDateNull ()
 
bool isAutomated () const
 
void setIsAutomated (bool newIsAutomated)
 

Static Public Member Functions

static PersonLookupInfo fromJson (QJsonObject source)
 

Protected Attributes

QString m_name
 
QString m_path
 
QString m_metadataLanguage
 
QString m_metadataCountryCode
 
QJsonObject m_providerIds
 
std::optional< qint32 > m_year = std::nullopt
 
std::optional< qint32 > m_indexNumber = std::nullopt
 
std::optional< qint32 > m_parentIndexNumber = std::nullopt
 
QDateTime m_premiereDate
 
bool m_isAutomated
 

Constructor & Destructor Documentation

◆ PersonLookupInfo() [1/2]

Jellyfin::DTO::PersonLookupInfo::PersonLookupInfo ( bool isAutomated)

◆ PersonLookupInfo() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ indexNumber()

std::optional< qint32 > Jellyfin::DTO::PersonLookupInfo::indexNumber ( ) const

◆ indexNumberNull()

bool Jellyfin::DTO::PersonLookupInfo::indexNumberNull ( ) const

◆ isAutomated()

bool Jellyfin::DTO::PersonLookupInfo::isAutomated ( ) const

◆ metadataCountryCode()

QString Jellyfin::DTO::PersonLookupInfo::metadataCountryCode ( ) const

Gets or sets the metadata country code.

◆ metadataCountryCodeNull()

bool Jellyfin::DTO::PersonLookupInfo::metadataCountryCodeNull ( ) const

◆ metadataLanguage()

QString Jellyfin::DTO::PersonLookupInfo::metadataLanguage ( ) const

Gets or sets the metadata language.

◆ metadataLanguageNull()

bool Jellyfin::DTO::PersonLookupInfo::metadataLanguageNull ( ) const

◆ name()

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

Gets or sets the name.

◆ nameNull()

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

◆ parentIndexNumber()

std::optional< qint32 > Jellyfin::DTO::PersonLookupInfo::parentIndexNumber ( ) const

◆ parentIndexNumberNull()

bool Jellyfin::DTO::PersonLookupInfo::parentIndexNumberNull ( ) const

◆ path()

QString Jellyfin::DTO::PersonLookupInfo::path ( ) const

Gets or sets the path.

◆ pathNull()

bool Jellyfin::DTO::PersonLookupInfo::pathNull ( ) const

◆ premiereDate()

QDateTime Jellyfin::DTO::PersonLookupInfo::premiereDate ( ) const

◆ premiereDateNull()

bool Jellyfin::DTO::PersonLookupInfo::premiereDateNull ( ) const

◆ providerIds()

QJsonObject Jellyfin::DTO::PersonLookupInfo::providerIds ( ) const

Gets or sets the provider ids.

◆ providerIdsNull()

bool Jellyfin::DTO::PersonLookupInfo::providerIdsNull ( ) const

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setIndexNumber()

void Jellyfin::DTO::PersonLookupInfo::setIndexNumber ( std::optional< qint32 > newIndexNumber)

◆ setIndexNumberNull()

void Jellyfin::DTO::PersonLookupInfo::setIndexNumberNull ( )

◆ setIsAutomated()

void Jellyfin::DTO::PersonLookupInfo::setIsAutomated ( bool newIsAutomated)

◆ setMetadataCountryCode()

void Jellyfin::DTO::PersonLookupInfo::setMetadataCountryCode ( QString newMetadataCountryCode)

Gets or sets the metadata country code.

◆ setMetadataCountryCodeNull()

void Jellyfin::DTO::PersonLookupInfo::setMetadataCountryCodeNull ( )

◆ setMetadataLanguage()

void Jellyfin::DTO::PersonLookupInfo::setMetadataLanguage ( QString newMetadataLanguage)

Gets or sets the metadata language.

◆ setMetadataLanguageNull()

void Jellyfin::DTO::PersonLookupInfo::setMetadataLanguageNull ( )

◆ setName()

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

Gets or sets the name.

◆ setNameNull()

void Jellyfin::DTO::PersonLookupInfo::setNameNull ( )

◆ setParentIndexNumber()

void Jellyfin::DTO::PersonLookupInfo::setParentIndexNumber ( std::optional< qint32 > newParentIndexNumber)

◆ setParentIndexNumberNull()

void Jellyfin::DTO::PersonLookupInfo::setParentIndexNumberNull ( )

◆ setPath()

void Jellyfin::DTO::PersonLookupInfo::setPath ( QString newPath)

Gets or sets the path.

◆ setPathNull()

void Jellyfin::DTO::PersonLookupInfo::setPathNull ( )

◆ setPremiereDate()

void Jellyfin::DTO::PersonLookupInfo::setPremiereDate ( QDateTime newPremiereDate)

◆ setPremiereDateNull()

void Jellyfin::DTO::PersonLookupInfo::setPremiereDateNull ( )

◆ setProviderIds()

void Jellyfin::DTO::PersonLookupInfo::setProviderIds ( QJsonObject newProviderIds)

Gets or sets the provider ids.

◆ setProviderIdsNull()

void Jellyfin::DTO::PersonLookupInfo::setProviderIdsNull ( )

◆ setYear()

void Jellyfin::DTO::PersonLookupInfo::setYear ( std::optional< qint32 > newYear)

Gets or sets the year.

◆ setYearNull()

void Jellyfin::DTO::PersonLookupInfo::setYearNull ( )

◆ toJson()

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

◆ year()

std::optional< qint32 > Jellyfin::DTO::PersonLookupInfo::year ( ) const

Gets or sets the year.

◆ yearNull()

bool Jellyfin::DTO::PersonLookupInfo::yearNull ( ) const

Member Data Documentation

◆ m_indexNumber

std::optional<qint32> Jellyfin::DTO::PersonLookupInfo::m_indexNumber = std::nullopt
protected

◆ m_isAutomated

bool Jellyfin::DTO::PersonLookupInfo::m_isAutomated
protected

◆ m_metadataCountryCode

QString Jellyfin::DTO::PersonLookupInfo::m_metadataCountryCode
protected

◆ m_metadataLanguage

QString Jellyfin::DTO::PersonLookupInfo::m_metadataLanguage
protected

◆ m_name

QString Jellyfin::DTO::PersonLookupInfo::m_name
protected

◆ m_parentIndexNumber

std::optional<qint32> Jellyfin::DTO::PersonLookupInfo::m_parentIndexNumber = std::nullopt
protected

◆ m_path

QString Jellyfin::DTO::PersonLookupInfo::m_path
protected

◆ m_premiereDate

QDateTime Jellyfin::DTO::PersonLookupInfo::m_premiereDate
protected

◆ m_providerIds

QJsonObject Jellyfin::DTO::PersonLookupInfo::m_providerIds
protected

◆ m_year

std::optional<qint32> Jellyfin::DTO::PersonLookupInfo::m_year = std::nullopt
protected

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