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

#include <remotesearchresult.h>

Public Member Functions

 RemoteSearchResult (QSharedPointer< RemoteSearchResult > albumArtist)
 
 RemoteSearchResult (const RemoteSearchResult &other)
 
void replaceData (RemoteSearchResult &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 ()
 
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 > productionYear () const
 Gets or sets the year.
 
void setProductionYear (std::optional< qint32 > newProductionYear)
 Gets or sets the year.
 
bool productionYearNull () const
 
void setProductionYearNull ()
 
std::optional< qint32 > indexNumber () const
 
void setIndexNumber (std::optional< qint32 > newIndexNumber)
 
bool indexNumberNull () const
 
void setIndexNumberNull ()
 
std::optional< qint32 > indexNumberEnd () const
 
void setIndexNumberEnd (std::optional< qint32 > newIndexNumberEnd)
 
bool indexNumberEndNull () const
 
void setIndexNumberEndNull ()
 
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 ()
 
QString imageUrl () const
 
void setImageUrl (QString newImageUrl)
 
bool imageUrlNull () const
 
void setImageUrlNull ()
 
QString searchProviderName () const
 
void setSearchProviderName (QString newSearchProviderName)
 
bool searchProviderNameNull () const
 
void setSearchProviderNameNull ()
 
QString overview () const
 
void setOverview (QString newOverview)
 
bool overviewNull () const
 
void setOverviewNull ()
 
QSharedPointer< RemoteSearchResultalbumArtist () const
 
void setAlbumArtist (QSharedPointer< RemoteSearchResult > newAlbumArtist)
 
QList< RemoteSearchResultartists () const
 
void setArtists (QList< RemoteSearchResult > newArtists)
 
bool artistsNull () const
 
void setArtistsNull ()
 

Static Public Member Functions

static RemoteSearchResult fromJson (QJsonObject source)
 

Protected Attributes

QString m_name
 
QJsonObject m_providerIds
 
std::optional< qint32 > m_productionYear = std::nullopt
 
std::optional< qint32 > m_indexNumber = std::nullopt
 
std::optional< qint32 > m_indexNumberEnd = std::nullopt
 
std::optional< qint32 > m_parentIndexNumber = std::nullopt
 
QDateTime m_premiereDate
 
QString m_imageUrl
 
QString m_searchProviderName
 
QString m_overview
 
QSharedPointer< RemoteSearchResultm_albumArtist = QSharedPointer<RemoteSearchResult>()
 
QList< RemoteSearchResultm_artists
 

Constructor & Destructor Documentation

◆ RemoteSearchResult() [1/2]

Jellyfin::DTO::RemoteSearchResult::RemoteSearchResult ( QSharedPointer< RemoteSearchResult > albumArtist)

◆ RemoteSearchResult() [2/2]

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

Member Function Documentation

◆ albumArtist()

QSharedPointer< RemoteSearchResult > Jellyfin::DTO::RemoteSearchResult::albumArtist ( ) const

◆ artists()

QList< RemoteSearchResult > Jellyfin::DTO::RemoteSearchResult::artists ( ) const

◆ artistsNull()

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

◆ fromJson()

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

◆ imageUrl()

QString Jellyfin::DTO::RemoteSearchResult::imageUrl ( ) const

◆ imageUrlNull()

bool Jellyfin::DTO::RemoteSearchResult::imageUrlNull ( ) const

◆ indexNumber()

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

◆ indexNumberEnd()

std::optional< qint32 > Jellyfin::DTO::RemoteSearchResult::indexNumberEnd ( ) const

◆ indexNumberEndNull()

bool Jellyfin::DTO::RemoteSearchResult::indexNumberEndNull ( ) const

◆ indexNumberNull()

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

◆ name()

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

Gets or sets the name.

◆ nameNull()

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

◆ overview()

QString Jellyfin::DTO::RemoteSearchResult::overview ( ) const

◆ overviewNull()

bool Jellyfin::DTO::RemoteSearchResult::overviewNull ( ) const

◆ parentIndexNumber()

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

◆ parentIndexNumberNull()

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

◆ premiereDate()

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

◆ premiereDateNull()

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

◆ productionYear()

std::optional< qint32 > Jellyfin::DTO::RemoteSearchResult::productionYear ( ) const

Gets or sets the year.

◆ productionYearNull()

bool Jellyfin::DTO::RemoteSearchResult::productionYearNull ( ) const

◆ providerIds()

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

Gets or sets the provider ids.

◆ providerIdsNull()

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

◆ replaceData()

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

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

◆ searchProviderName()

QString Jellyfin::DTO::RemoteSearchResult::searchProviderName ( ) const

◆ searchProviderNameNull()

bool Jellyfin::DTO::RemoteSearchResult::searchProviderNameNull ( ) const

◆ setAlbumArtist()

void Jellyfin::DTO::RemoteSearchResult::setAlbumArtist ( QSharedPointer< RemoteSearchResult > newAlbumArtist)

◆ setArtists()

void Jellyfin::DTO::RemoteSearchResult::setArtists ( QList< RemoteSearchResult > newArtists)

◆ setArtistsNull()

void Jellyfin::DTO::RemoteSearchResult::setArtistsNull ( )

◆ setFromJson()

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

◆ setImageUrl()

void Jellyfin::DTO::RemoteSearchResult::setImageUrl ( QString newImageUrl)

◆ setImageUrlNull()

void Jellyfin::DTO::RemoteSearchResult::setImageUrlNull ( )

◆ setIndexNumber()

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

◆ setIndexNumberEnd()

void Jellyfin::DTO::RemoteSearchResult::setIndexNumberEnd ( std::optional< qint32 > newIndexNumberEnd)

◆ setIndexNumberEndNull()

void Jellyfin::DTO::RemoteSearchResult::setIndexNumberEndNull ( )

◆ setIndexNumberNull()

void Jellyfin::DTO::RemoteSearchResult::setIndexNumberNull ( )

◆ setName()

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

Gets or sets the name.

◆ setNameNull()

void Jellyfin::DTO::RemoteSearchResult::setNameNull ( )

◆ setOverview()

void Jellyfin::DTO::RemoteSearchResult::setOverview ( QString newOverview)

◆ setOverviewNull()

void Jellyfin::DTO::RemoteSearchResult::setOverviewNull ( )

◆ setParentIndexNumber()

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

◆ setParentIndexNumberNull()

void Jellyfin::DTO::RemoteSearchResult::setParentIndexNumberNull ( )

◆ setPremiereDate()

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

◆ setPremiereDateNull()

void Jellyfin::DTO::RemoteSearchResult::setPremiereDateNull ( )

◆ setProductionYear()

void Jellyfin::DTO::RemoteSearchResult::setProductionYear ( std::optional< qint32 > newProductionYear)

Gets or sets the year.

◆ setProductionYearNull()

void Jellyfin::DTO::RemoteSearchResult::setProductionYearNull ( )

◆ setProviderIds()

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

Gets or sets the provider ids.

◆ setProviderIdsNull()

void Jellyfin::DTO::RemoteSearchResult::setProviderIdsNull ( )

◆ setSearchProviderName()

void Jellyfin::DTO::RemoteSearchResult::setSearchProviderName ( QString newSearchProviderName)

◆ setSearchProviderNameNull()

void Jellyfin::DTO::RemoteSearchResult::setSearchProviderNameNull ( )

◆ toJson()

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

Member Data Documentation

◆ m_albumArtist

QSharedPointer<RemoteSearchResult> Jellyfin::DTO::RemoteSearchResult::m_albumArtist = QSharedPointer<RemoteSearchResult>()
protected

◆ m_artists

QList<RemoteSearchResult> Jellyfin::DTO::RemoteSearchResult::m_artists
protected

◆ m_imageUrl

QString Jellyfin::DTO::RemoteSearchResult::m_imageUrl
protected

◆ m_indexNumber

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

◆ m_indexNumberEnd

std::optional<qint32> Jellyfin::DTO::RemoteSearchResult::m_indexNumberEnd = std::nullopt
protected

◆ m_name

QString Jellyfin::DTO::RemoteSearchResult::m_name
protected

◆ m_overview

QString Jellyfin::DTO::RemoteSearchResult::m_overview
protected

◆ m_parentIndexNumber

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

◆ m_premiereDate

QDateTime Jellyfin::DTO::RemoteSearchResult::m_premiereDate
protected

◆ m_productionYear

std::optional<qint32> Jellyfin::DTO::RemoteSearchResult::m_productionYear = std::nullopt
protected

◆ m_providerIds

QJsonObject Jellyfin::DTO::RemoteSearchResult::m_providerIds
protected

◆ m_searchProviderName

QString Jellyfin::DTO::RemoteSearchResult::m_searchProviderName
protected

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