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

#include <virtualfolderinfo.h>

Public Member Functions

 VirtualFolderInfo (QSharedPointer< LibraryOptions > libraryOptions)
 
 VirtualFolderInfo (const VirtualFolderInfo &other)
 
void replaceData (VirtualFolderInfo &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 ()
 
QStringList locations () const
 Gets or sets the locations.
 
void setLocations (QStringList newLocations)
 Gets or sets the locations.
 
bool locationsNull () const
 
void setLocationsNull ()
 
QString collectionType () const
 Gets or sets the type of the collection.
 
void setCollectionType (QString newCollectionType)
 Gets or sets the type of the collection.
 
bool collectionTypeNull () const
 
void setCollectionTypeNull ()
 
QSharedPointer< LibraryOptionslibraryOptions () const
 
void setLibraryOptions (QSharedPointer< LibraryOptions > newLibraryOptions)
 
QString itemId () const
 Gets or sets the item identifier.
 
void setItemId (QString newItemId)
 Gets or sets the item identifier.
 
bool itemIdNull () const
 
void setItemIdNull ()
 
QString primaryImageItemId () const
 Gets or sets the primary image item identifier.
 
void setPrimaryImageItemId (QString newPrimaryImageItemId)
 Gets or sets the primary image item identifier.
 
bool primaryImageItemIdNull () const
 
void setPrimaryImageItemIdNull ()
 
std::optional< double > refreshProgress () const
 
void setRefreshProgress (std::optional< double > newRefreshProgress)
 
bool refreshProgressNull () const
 
void setRefreshProgressNull ()
 
QString refreshStatus () const
 
void setRefreshStatus (QString newRefreshStatus)
 
bool refreshStatusNull () const
 
void setRefreshStatusNull ()
 

Static Public Member Functions

static VirtualFolderInfo fromJson (QJsonObject source)
 

Protected Attributes

QString m_name
 
QStringList m_locations
 
QString m_collectionType
 
QSharedPointer< LibraryOptionsm_libraryOptions = QSharedPointer<LibraryOptions>()
 
QString m_itemId
 
QString m_primaryImageItemId
 
std::optional< double > m_refreshProgress = std::nullopt
 
QString m_refreshStatus
 

Constructor & Destructor Documentation

◆ VirtualFolderInfo() [1/2]

Jellyfin::DTO::VirtualFolderInfo::VirtualFolderInfo ( QSharedPointer< LibraryOptions > libraryOptions)

◆ VirtualFolderInfo() [2/2]

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

Member Function Documentation

◆ collectionType()

QString Jellyfin::DTO::VirtualFolderInfo::collectionType ( ) const

Gets or sets the type of the collection.

◆ collectionTypeNull()

bool Jellyfin::DTO::VirtualFolderInfo::collectionTypeNull ( ) const

◆ fromJson()

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

◆ itemId()

QString Jellyfin::DTO::VirtualFolderInfo::itemId ( ) const

Gets or sets the item identifier.

◆ itemIdNull()

bool Jellyfin::DTO::VirtualFolderInfo::itemIdNull ( ) const

◆ libraryOptions()

QSharedPointer< LibraryOptions > Jellyfin::DTO::VirtualFolderInfo::libraryOptions ( ) const

◆ locations()

QStringList Jellyfin::DTO::VirtualFolderInfo::locations ( ) const

Gets or sets the locations.

◆ locationsNull()

bool Jellyfin::DTO::VirtualFolderInfo::locationsNull ( ) const

◆ name()

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

Gets or sets the name.

◆ nameNull()

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

◆ primaryImageItemId()

QString Jellyfin::DTO::VirtualFolderInfo::primaryImageItemId ( ) const

Gets or sets the primary image item identifier.

◆ primaryImageItemIdNull()

bool Jellyfin::DTO::VirtualFolderInfo::primaryImageItemIdNull ( ) const

◆ refreshProgress()

std::optional< double > Jellyfin::DTO::VirtualFolderInfo::refreshProgress ( ) const

◆ refreshProgressNull()

bool Jellyfin::DTO::VirtualFolderInfo::refreshProgressNull ( ) const

◆ refreshStatus()

QString Jellyfin::DTO::VirtualFolderInfo::refreshStatus ( ) const

◆ refreshStatusNull()

bool Jellyfin::DTO::VirtualFolderInfo::refreshStatusNull ( ) const

◆ replaceData()

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

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

◆ setCollectionType()

void Jellyfin::DTO::VirtualFolderInfo::setCollectionType ( QString newCollectionType)

Gets or sets the type of the collection.

◆ setCollectionTypeNull()

void Jellyfin::DTO::VirtualFolderInfo::setCollectionTypeNull ( )

◆ setFromJson()

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

◆ setItemId()

void Jellyfin::DTO::VirtualFolderInfo::setItemId ( QString newItemId)

Gets or sets the item identifier.

◆ setItemIdNull()

void Jellyfin::DTO::VirtualFolderInfo::setItemIdNull ( )

◆ setLibraryOptions()

void Jellyfin::DTO::VirtualFolderInfo::setLibraryOptions ( QSharedPointer< LibraryOptions > newLibraryOptions)

◆ setLocations()

void Jellyfin::DTO::VirtualFolderInfo::setLocations ( QStringList newLocations)

Gets or sets the locations.

◆ setLocationsNull()

void Jellyfin::DTO::VirtualFolderInfo::setLocationsNull ( )

◆ setName()

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

Gets or sets the name.

◆ setNameNull()

void Jellyfin::DTO::VirtualFolderInfo::setNameNull ( )

◆ setPrimaryImageItemId()

void Jellyfin::DTO::VirtualFolderInfo::setPrimaryImageItemId ( QString newPrimaryImageItemId)

Gets or sets the primary image item identifier.

◆ setPrimaryImageItemIdNull()

void Jellyfin::DTO::VirtualFolderInfo::setPrimaryImageItemIdNull ( )

◆ setRefreshProgress()

void Jellyfin::DTO::VirtualFolderInfo::setRefreshProgress ( std::optional< double > newRefreshProgress)

◆ setRefreshProgressNull()

void Jellyfin::DTO::VirtualFolderInfo::setRefreshProgressNull ( )

◆ setRefreshStatus()

void Jellyfin::DTO::VirtualFolderInfo::setRefreshStatus ( QString newRefreshStatus)

◆ setRefreshStatusNull()

void Jellyfin::DTO::VirtualFolderInfo::setRefreshStatusNull ( )

◆ toJson()

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

Member Data Documentation

◆ m_collectionType

QString Jellyfin::DTO::VirtualFolderInfo::m_collectionType
protected

◆ m_itemId

QString Jellyfin::DTO::VirtualFolderInfo::m_itemId
protected

◆ m_libraryOptions

QSharedPointer<LibraryOptions> Jellyfin::DTO::VirtualFolderInfo::m_libraryOptions = QSharedPointer<LibraryOptions>()
protected

◆ m_locations

QStringList Jellyfin::DTO::VirtualFolderInfo::m_locations
protected

◆ m_name

QString Jellyfin::DTO::VirtualFolderInfo::m_name
protected

◆ m_primaryImageItemId

QString Jellyfin::DTO::VirtualFolderInfo::m_primaryImageItemId
protected

◆ m_refreshProgress

std::optional<double> Jellyfin::DTO::VirtualFolderInfo::m_refreshProgress = std::nullopt
protected

◆ m_refreshStatus

QString Jellyfin::DTO::VirtualFolderInfo::m_refreshStatus
protected

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