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

#include <seriesinfo.h>

Public Member Functions

 SeriesInfo (bool isAutomated)
 
 SeriesInfo (const SeriesInfo &other)
 
void replaceData (SeriesInfo &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 SeriesInfo 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

◆ SeriesInfo() [1/2]

Jellyfin::DTO::SeriesInfo::SeriesInfo ( bool isAutomated)

◆ SeriesInfo() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ indexNumber()

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

◆ indexNumberNull()

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

◆ isAutomated()

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

◆ metadataCountryCode()

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

Gets or sets the metadata country code.

◆ metadataCountryCodeNull()

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

◆ metadataLanguage()

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

Gets or sets the metadata language.

◆ metadataLanguageNull()

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

◆ name()

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

Gets or sets the name.

◆ nameNull()

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

◆ parentIndexNumber()

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

◆ parentIndexNumberNull()

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

◆ path()

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

Gets or sets the path.

◆ pathNull()

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

◆ premiereDate()

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

◆ premiereDateNull()

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

◆ providerIds()

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

Gets or sets the provider ids.

◆ providerIdsNull()

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

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setIndexNumber()

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

◆ setIndexNumberNull()

void Jellyfin::DTO::SeriesInfo::setIndexNumberNull ( )

◆ setIsAutomated()

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

◆ setMetadataCountryCode()

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

Gets or sets the metadata country code.

◆ setMetadataCountryCodeNull()

void Jellyfin::DTO::SeriesInfo::setMetadataCountryCodeNull ( )

◆ setMetadataLanguage()

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

Gets or sets the metadata language.

◆ setMetadataLanguageNull()

void Jellyfin::DTO::SeriesInfo::setMetadataLanguageNull ( )

◆ setName()

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

Gets or sets the name.

◆ setNameNull()

void Jellyfin::DTO::SeriesInfo::setNameNull ( )

◆ setParentIndexNumber()

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

◆ setParentIndexNumberNull()

void Jellyfin::DTO::SeriesInfo::setParentIndexNumberNull ( )

◆ setPath()

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

Gets or sets the path.

◆ setPathNull()

void Jellyfin::DTO::SeriesInfo::setPathNull ( )

◆ setPremiereDate()

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

◆ setPremiereDateNull()

void Jellyfin::DTO::SeriesInfo::setPremiereDateNull ( )

◆ setProviderIds()

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

Gets or sets the provider ids.

◆ setProviderIdsNull()

void Jellyfin::DTO::SeriesInfo::setProviderIdsNull ( )

◆ setYear()

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

Gets or sets the year.

◆ setYearNull()

void Jellyfin::DTO::SeriesInfo::setYearNull ( )

◆ toJson()

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

◆ year()

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

Gets or sets the year.

◆ yearNull()

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

Member Data Documentation

◆ m_indexNumber

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

◆ m_isAutomated

bool Jellyfin::DTO::SeriesInfo::m_isAutomated
protected

◆ m_metadataCountryCode

QString Jellyfin::DTO::SeriesInfo::m_metadataCountryCode
protected

◆ m_metadataLanguage

QString Jellyfin::DTO::SeriesInfo::m_metadataLanguage
protected

◆ m_name

QString Jellyfin::DTO::SeriesInfo::m_name
protected

◆ m_parentIndexNumber

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

◆ m_path

QString Jellyfin::DTO::SeriesInfo::m_path
protected

◆ m_premiereDate

QDateTime Jellyfin::DTO::SeriesInfo::m_premiereDate
protected

◆ m_providerIds

QJsonObject Jellyfin::DTO::SeriesInfo::m_providerIds
protected

◆ m_year

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

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