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

#include <musicvideoinfo.h>

Public Member Functions

 MusicVideoInfo (bool isAutomated)
 MusicVideoInfo (const MusicVideoInfo &other)
void replaceData (MusicVideoInfo &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 originalTitle () const
 Gets or sets the original title.
void setOriginalTitle (QString newOriginalTitle)
 Gets or sets the original title.
bool originalTitleNull () const
void setOriginalTitleNull ()
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)
QStringList artists () const
void setArtists (QStringList newArtists)
bool artistsNull () const
void setArtistsNull ()

Static Public Member Functions

static MusicVideoInfo fromJson (QJsonObject source)

Protected Attributes

QString m_name
QString m_originalTitle
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
QStringList m_artists

Constructor & Destructor Documentation

◆ MusicVideoInfo() [1/2]

Jellyfin::DTO::MusicVideoInfo::MusicVideoInfo ( bool isAutomated)

◆ MusicVideoInfo() [2/2]

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

Member Function Documentation

◆ artists()

QStringList Jellyfin::DTO::MusicVideoInfo::artists ( ) const

◆ artistsNull()

bool Jellyfin::DTO::MusicVideoInfo::artistsNull ( ) const

◆ fromJson()

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

◆ indexNumber()

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

◆ indexNumberNull()

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

◆ isAutomated()

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

◆ metadataCountryCode()

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

Gets or sets the metadata country code.

◆ metadataCountryCodeNull()

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

◆ metadataLanguage()

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

Gets or sets the metadata language.

◆ metadataLanguageNull()

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

◆ name()

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

Gets or sets the name.

◆ nameNull()

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

◆ originalTitle()

QString Jellyfin::DTO::MusicVideoInfo::originalTitle ( ) const

Gets or sets the original title.

◆ originalTitleNull()

bool Jellyfin::DTO::MusicVideoInfo::originalTitleNull ( ) const

◆ parentIndexNumber()

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

◆ parentIndexNumberNull()

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

◆ path()

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

Gets or sets the path.

◆ pathNull()

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

◆ premiereDate()

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

◆ premiereDateNull()

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

◆ providerIds()

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

Gets or sets the provider ids.

◆ providerIdsNull()

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

◆ replaceData()

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

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

◆ setArtists()

void Jellyfin::DTO::MusicVideoInfo::setArtists ( QStringList newArtists)

◆ setArtistsNull()

void Jellyfin::DTO::MusicVideoInfo::setArtistsNull ( )

◆ setFromJson()

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

◆ setIndexNumber()

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

◆ setIndexNumberNull()

void Jellyfin::DTO::MusicVideoInfo::setIndexNumberNull ( )

◆ setIsAutomated()

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

◆ setMetadataCountryCode()

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

Gets or sets the metadata country code.

◆ setMetadataCountryCodeNull()

void Jellyfin::DTO::MusicVideoInfo::setMetadataCountryCodeNull ( )

◆ setMetadataLanguage()

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

Gets or sets the metadata language.

◆ setMetadataLanguageNull()

void Jellyfin::DTO::MusicVideoInfo::setMetadataLanguageNull ( )

◆ setName()

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

Gets or sets the name.

◆ setNameNull()

void Jellyfin::DTO::MusicVideoInfo::setNameNull ( )

◆ setOriginalTitle()

void Jellyfin::DTO::MusicVideoInfo::setOriginalTitle ( QString newOriginalTitle)

Gets or sets the original title.

◆ setOriginalTitleNull()

void Jellyfin::DTO::MusicVideoInfo::setOriginalTitleNull ( )

◆ setParentIndexNumber()

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

◆ setParentIndexNumberNull()

void Jellyfin::DTO::MusicVideoInfo::setParentIndexNumberNull ( )

◆ setPath()

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

Gets or sets the path.

◆ setPathNull()

void Jellyfin::DTO::MusicVideoInfo::setPathNull ( )

◆ setPremiereDate()

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

◆ setPremiereDateNull()

void Jellyfin::DTO::MusicVideoInfo::setPremiereDateNull ( )

◆ setProviderIds()

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

Gets or sets the provider ids.

◆ setProviderIdsNull()

void Jellyfin::DTO::MusicVideoInfo::setProviderIdsNull ( )

◆ setYear()

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

Gets or sets the year.

◆ setYearNull()

void Jellyfin::DTO::MusicVideoInfo::setYearNull ( )

◆ toJson()

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

◆ year()

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

Gets or sets the year.

◆ yearNull()

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

Member Data Documentation

◆ m_artists

QStringList Jellyfin::DTO::MusicVideoInfo::m_artists
protected

◆ m_indexNumber

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

◆ m_isAutomated

bool Jellyfin::DTO::MusicVideoInfo::m_isAutomated
protected

◆ m_metadataCountryCode

QString Jellyfin::DTO::MusicVideoInfo::m_metadataCountryCode
protected

◆ m_metadataLanguage

QString Jellyfin::DTO::MusicVideoInfo::m_metadataLanguage
protected

◆ m_name

QString Jellyfin::DTO::MusicVideoInfo::m_name
protected

◆ m_originalTitle

QString Jellyfin::DTO::MusicVideoInfo::m_originalTitle
protected

◆ m_parentIndexNumber

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

◆ m_path

QString Jellyfin::DTO::MusicVideoInfo::m_path
protected

◆ m_premiereDate

QDateTime Jellyfin::DTO::MusicVideoInfo::m_premiereDate
protected

◆ m_providerIds

QJsonObject Jellyfin::DTO::MusicVideoInfo::m_providerIds
protected

◆ m_year

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

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