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

#include <systeminfo.h>

Public Member Functions

 SystemInfo (bool hasPendingRestart, bool isShuttingDown, bool supportsLibraryMonitor, qint32 webSocketPortNumber, std::optional< bool > canSelfRestart, std::optional< bool > canLaunchWebBrowser, std::optional< bool > hasUpdateAvailable)
 SystemInfo (const SystemInfo &other)
void replaceData (SystemInfo &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
QString localAddress () const
 Gets or sets the local address.
void setLocalAddress (QString newLocalAddress)
 Gets or sets the local address.
bool localAddressNull () const
void setLocalAddressNull ()
QString serverName () const
 Gets or sets the name of the server.
void setServerName (QString newServerName)
 Gets or sets the name of the server.
bool serverNameNull () const
void setServerNameNull ()
QString version () const
 Gets or sets the server version.
void setVersion (QString newVersion)
 Gets or sets the server version.
bool versionNull () const
void setVersionNull ()
QString productName () const
 Gets or sets the product name. This is the AssemblyProduct name.
void setProductName (QString newProductName)
 Gets or sets the product name. This is the AssemblyProduct name.
bool productNameNull () const
void setProductNameNull ()
QString operatingSystem () const
 Gets or sets the operating system.
void setOperatingSystem (QString newOperatingSystem)
 Gets or sets the operating system.
bool operatingSystemNull () const
void setOperatingSystemNull ()
QString jellyfinId () const
 Gets or sets the id.
void setJellyfinId (QString newJellyfinId)
 Gets or sets the id.
bool jellyfinIdNull () const
void setJellyfinIdNull ()
std::optional< bool > startupWizardCompleted () const
 Gets or sets a value indicating whether the startup wizard is completed.
void setStartupWizardCompleted (std::optional< bool > newStartupWizardCompleted)
 Gets or sets a value indicating whether the startup wizard is completed.
bool startupWizardCompletedNull () const
void setStartupWizardCompletedNull ()
QString operatingSystemDisplayName () const
 Gets or sets the display name of the operating system.
void setOperatingSystemDisplayName (QString newOperatingSystemDisplayName)
 Gets or sets the display name of the operating system.
bool operatingSystemDisplayNameNull () const
void setOperatingSystemDisplayNameNull ()
QString packageName () const
 Gets or sets the package name.
void setPackageName (QString newPackageName)
 Gets or sets the package name.
bool packageNameNull () const
void setPackageNameNull ()
bool hasPendingRestart () const
 Gets or sets a value indicating whether this instance has pending restart.
void setHasPendingRestart (bool newHasPendingRestart)
 Gets or sets a value indicating whether this instance has pending restart.
bool isShuttingDown () const
void setIsShuttingDown (bool newIsShuttingDown)
bool supportsLibraryMonitor () const
 Gets or sets a value indicating whether [supports library monitor].
void setSupportsLibraryMonitor (bool newSupportsLibraryMonitor)
 Gets or sets a value indicating whether [supports library monitor].
qint32 webSocketPortNumber () const
 Gets or sets the web socket port number.
void setWebSocketPortNumber (qint32 newWebSocketPortNumber)
 Gets or sets the web socket port number.
QList< InstallationInfocompletedInstallations () const
 Gets or sets the completed installations.
void setCompletedInstallations (QList< InstallationInfo > newCompletedInstallations)
 Gets or sets the completed installations.
bool completedInstallationsNull () const
void setCompletedInstallationsNull ()
std::optional< bool > canSelfRestart () const
 Gets or sets a value indicating whether this instance can self restart.
void setCanSelfRestart (std::optional< bool > newCanSelfRestart)
 Gets or sets a value indicating whether this instance can self restart.
std::optional< bool > canLaunchWebBrowser () const
void setCanLaunchWebBrowser (std::optional< bool > newCanLaunchWebBrowser)
QString programDataPath () const
 Gets or sets the program data path.
void setProgramDataPath (QString newProgramDataPath)
 Gets or sets the program data path.
bool programDataPathNull () const
void setProgramDataPathNull ()
QString webPath () const
 Gets or sets the web UI resources path.
void setWebPath (QString newWebPath)
 Gets or sets the web UI resources path.
bool webPathNull () const
void setWebPathNull ()
QString itemsByNamePath () const
 Gets or sets the items by name path.
void setItemsByNamePath (QString newItemsByNamePath)
 Gets or sets the items by name path.
bool itemsByNamePathNull () const
void setItemsByNamePathNull ()
QString cachePath () const
 Gets or sets the cache path.
void setCachePath (QString newCachePath)
 Gets or sets the cache path.
bool cachePathNull () const
void setCachePathNull ()
QString logPath () const
 Gets or sets the log path.
void setLogPath (QString newLogPath)
 Gets or sets the log path.
bool logPathNull () const
void setLogPathNull ()
QString internalMetadataPath () const
 Gets or sets the internal metadata path.
void setInternalMetadataPath (QString newInternalMetadataPath)
 Gets or sets the internal metadata path.
bool internalMetadataPathNull () const
void setInternalMetadataPathNull ()
QString transcodingTempPath () const
 Gets or sets the transcode path.
void setTranscodingTempPath (QString newTranscodingTempPath)
 Gets or sets the transcode path.
bool transcodingTempPathNull () const
void setTranscodingTempPathNull ()
QList< CastReceiverApplicationcastReceiverApplications () const
 Gets or sets the list of cast receiver applications.
void setCastReceiverApplications (QList< CastReceiverApplication > newCastReceiverApplications)
 Gets or sets the list of cast receiver applications.
bool castReceiverApplicationsNull () const
void setCastReceiverApplicationsNull ()
std::optional< bool > hasUpdateAvailable () const
 Gets or sets a value indicating whether this instance has update available.
void setHasUpdateAvailable (std::optional< bool > newHasUpdateAvailable)
 Gets or sets a value indicating whether this instance has update available.
QString encoderLocation () const
void setEncoderLocation (QString newEncoderLocation)
bool encoderLocationNull () const
void setEncoderLocationNull ()
QString systemArchitecture () const
void setSystemArchitecture (QString newSystemArchitecture)
bool systemArchitectureNull () const
void setSystemArchitectureNull ()

Static Public Member Functions

static SystemInfo fromJson (QJsonObject source)

Protected Attributes

QString m_localAddress
QString m_serverName
QString m_version
QString m_productName
QString m_operatingSystem
QString m_jellyfinId
std::optional< bool > m_startupWizardCompleted = std::nullopt
QString m_operatingSystemDisplayName
QString m_packageName
bool m_hasPendingRestart
bool m_isShuttingDown
bool m_supportsLibraryMonitor
qint32 m_webSocketPortNumber
QList< InstallationInfom_completedInstallations
std::optional< bool > m_canSelfRestart = std::nullopt
std::optional< bool > m_canLaunchWebBrowser = std::nullopt
QString m_programDataPath
QString m_webPath
QString m_itemsByNamePath
QString m_cachePath
QString m_logPath
QString m_internalMetadataPath
QString m_transcodingTempPath
QList< CastReceiverApplicationm_castReceiverApplications
std::optional< bool > m_hasUpdateAvailable = std::nullopt
QString m_encoderLocation
QString m_systemArchitecture

Constructor & Destructor Documentation

◆ SystemInfo() [1/2]

Jellyfin::DTO::SystemInfo::SystemInfo ( bool hasPendingRestart,
bool isShuttingDown,
bool supportsLibraryMonitor,
qint32 webSocketPortNumber,
std::optional< bool > canSelfRestart,
std::optional< bool > canLaunchWebBrowser,
std::optional< bool > hasUpdateAvailable )

◆ SystemInfo() [2/2]

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

Member Function Documentation

◆ cachePath()

QString Jellyfin::DTO::SystemInfo::cachePath ( ) const

Gets or sets the cache path.

◆ cachePathNull()

bool Jellyfin::DTO::SystemInfo::cachePathNull ( ) const

◆ canLaunchWebBrowser()

std::optional< bool > Jellyfin::DTO::SystemInfo::canLaunchWebBrowser ( ) const

◆ canSelfRestart()

std::optional< bool > Jellyfin::DTO::SystemInfo::canSelfRestart ( ) const

Gets or sets a value indicating whether this instance can self restart.

◆ castReceiverApplications()

QList< CastReceiverApplication > Jellyfin::DTO::SystemInfo::castReceiverApplications ( ) const

Gets or sets the list of cast receiver applications.

◆ castReceiverApplicationsNull()

bool Jellyfin::DTO::SystemInfo::castReceiverApplicationsNull ( ) const

◆ completedInstallations()

QList< InstallationInfo > Jellyfin::DTO::SystemInfo::completedInstallations ( ) const

Gets or sets the completed installations.

◆ completedInstallationsNull()

bool Jellyfin::DTO::SystemInfo::completedInstallationsNull ( ) const

◆ encoderLocation()

QString Jellyfin::DTO::SystemInfo::encoderLocation ( ) const

◆ encoderLocationNull()

bool Jellyfin::DTO::SystemInfo::encoderLocationNull ( ) const

◆ fromJson()

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

◆ hasPendingRestart()

bool Jellyfin::DTO::SystemInfo::hasPendingRestart ( ) const

Gets or sets a value indicating whether this instance has pending restart.

◆ hasUpdateAvailable()

std::optional< bool > Jellyfin::DTO::SystemInfo::hasUpdateAvailable ( ) const

Gets or sets a value indicating whether this instance has update available.

◆ internalMetadataPath()

QString Jellyfin::DTO::SystemInfo::internalMetadataPath ( ) const

Gets or sets the internal metadata path.

◆ internalMetadataPathNull()

bool Jellyfin::DTO::SystemInfo::internalMetadataPathNull ( ) const

◆ isShuttingDown()

bool Jellyfin::DTO::SystemInfo::isShuttingDown ( ) const

◆ itemsByNamePath()

QString Jellyfin::DTO::SystemInfo::itemsByNamePath ( ) const

Gets or sets the items by name path.

◆ itemsByNamePathNull()

bool Jellyfin::DTO::SystemInfo::itemsByNamePathNull ( ) const

◆ jellyfinId()

QString Jellyfin::DTO::SystemInfo::jellyfinId ( ) const

Gets or sets the id.

◆ jellyfinIdNull()

bool Jellyfin::DTO::SystemInfo::jellyfinIdNull ( ) const

◆ localAddress()

QString Jellyfin::DTO::SystemInfo::localAddress ( ) const

Gets or sets the local address.

◆ localAddressNull()

bool Jellyfin::DTO::SystemInfo::localAddressNull ( ) const

◆ logPath()

QString Jellyfin::DTO::SystemInfo::logPath ( ) const

Gets or sets the log path.

◆ logPathNull()

bool Jellyfin::DTO::SystemInfo::logPathNull ( ) const

◆ operatingSystem()

QString Jellyfin::DTO::SystemInfo::operatingSystem ( ) const

Gets or sets the operating system.

◆ operatingSystemDisplayName()

QString Jellyfin::DTO::SystemInfo::operatingSystemDisplayName ( ) const

Gets or sets the display name of the operating system.

◆ operatingSystemDisplayNameNull()

bool Jellyfin::DTO::SystemInfo::operatingSystemDisplayNameNull ( ) const

◆ operatingSystemNull()

bool Jellyfin::DTO::SystemInfo::operatingSystemNull ( ) const

◆ packageName()

QString Jellyfin::DTO::SystemInfo::packageName ( ) const

Gets or sets the package name.

◆ packageNameNull()

bool Jellyfin::DTO::SystemInfo::packageNameNull ( ) const

◆ productName()

QString Jellyfin::DTO::SystemInfo::productName ( ) const

Gets or sets the product name. This is the AssemblyProduct name.

◆ productNameNull()

bool Jellyfin::DTO::SystemInfo::productNameNull ( ) const

◆ programDataPath()

QString Jellyfin::DTO::SystemInfo::programDataPath ( ) const

Gets or sets the program data path.

◆ programDataPathNull()

bool Jellyfin::DTO::SystemInfo::programDataPathNull ( ) const

◆ replaceData()

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

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

◆ serverName()

QString Jellyfin::DTO::SystemInfo::serverName ( ) const

Gets or sets the name of the server.

◆ serverNameNull()

bool Jellyfin::DTO::SystemInfo::serverNameNull ( ) const

◆ setCachePath()

void Jellyfin::DTO::SystemInfo::setCachePath ( QString newCachePath)

Gets or sets the cache path.

◆ setCachePathNull()

void Jellyfin::DTO::SystemInfo::setCachePathNull ( )

◆ setCanLaunchWebBrowser()

void Jellyfin::DTO::SystemInfo::setCanLaunchWebBrowser ( std::optional< bool > newCanLaunchWebBrowser)

◆ setCanSelfRestart()

void Jellyfin::DTO::SystemInfo::setCanSelfRestart ( std::optional< bool > newCanSelfRestart)

Gets or sets a value indicating whether this instance can self restart.

◆ setCastReceiverApplications()

void Jellyfin::DTO::SystemInfo::setCastReceiverApplications ( QList< CastReceiverApplication > newCastReceiverApplications)

Gets or sets the list of cast receiver applications.

◆ setCastReceiverApplicationsNull()

void Jellyfin::DTO::SystemInfo::setCastReceiverApplicationsNull ( )

◆ setCompletedInstallations()

void Jellyfin::DTO::SystemInfo::setCompletedInstallations ( QList< InstallationInfo > newCompletedInstallations)

Gets or sets the completed installations.

◆ setCompletedInstallationsNull()

void Jellyfin::DTO::SystemInfo::setCompletedInstallationsNull ( )

◆ setEncoderLocation()

void Jellyfin::DTO::SystemInfo::setEncoderLocation ( QString newEncoderLocation)

◆ setEncoderLocationNull()

void Jellyfin::DTO::SystemInfo::setEncoderLocationNull ( )

◆ setFromJson()

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

◆ setHasPendingRestart()

void Jellyfin::DTO::SystemInfo::setHasPendingRestart ( bool newHasPendingRestart)

Gets or sets a value indicating whether this instance has pending restart.

◆ setHasUpdateAvailable()

void Jellyfin::DTO::SystemInfo::setHasUpdateAvailable ( std::optional< bool > newHasUpdateAvailable)

Gets or sets a value indicating whether this instance has update available.

◆ setInternalMetadataPath()

void Jellyfin::DTO::SystemInfo::setInternalMetadataPath ( QString newInternalMetadataPath)

Gets or sets the internal metadata path.

◆ setInternalMetadataPathNull()

void Jellyfin::DTO::SystemInfo::setInternalMetadataPathNull ( )

◆ setIsShuttingDown()

void Jellyfin::DTO::SystemInfo::setIsShuttingDown ( bool newIsShuttingDown)

◆ setItemsByNamePath()

void Jellyfin::DTO::SystemInfo::setItemsByNamePath ( QString newItemsByNamePath)

Gets or sets the items by name path.

◆ setItemsByNamePathNull()

void Jellyfin::DTO::SystemInfo::setItemsByNamePathNull ( )

◆ setJellyfinId()

void Jellyfin::DTO::SystemInfo::setJellyfinId ( QString newJellyfinId)

Gets or sets the id.

◆ setJellyfinIdNull()

void Jellyfin::DTO::SystemInfo::setJellyfinIdNull ( )

◆ setLocalAddress()

void Jellyfin::DTO::SystemInfo::setLocalAddress ( QString newLocalAddress)

Gets or sets the local address.

◆ setLocalAddressNull()

void Jellyfin::DTO::SystemInfo::setLocalAddressNull ( )

◆ setLogPath()

void Jellyfin::DTO::SystemInfo::setLogPath ( QString newLogPath)

Gets or sets the log path.

◆ setLogPathNull()

void Jellyfin::DTO::SystemInfo::setLogPathNull ( )

◆ setOperatingSystem()

void Jellyfin::DTO::SystemInfo::setOperatingSystem ( QString newOperatingSystem)

Gets or sets the operating system.

◆ setOperatingSystemDisplayName()

void Jellyfin::DTO::SystemInfo::setOperatingSystemDisplayName ( QString newOperatingSystemDisplayName)

Gets or sets the display name of the operating system.

◆ setOperatingSystemDisplayNameNull()

void Jellyfin::DTO::SystemInfo::setOperatingSystemDisplayNameNull ( )

◆ setOperatingSystemNull()

void Jellyfin::DTO::SystemInfo::setOperatingSystemNull ( )

◆ setPackageName()

void Jellyfin::DTO::SystemInfo::setPackageName ( QString newPackageName)

Gets or sets the package name.

◆ setPackageNameNull()

void Jellyfin::DTO::SystemInfo::setPackageNameNull ( )

◆ setProductName()

void Jellyfin::DTO::SystemInfo::setProductName ( QString newProductName)

Gets or sets the product name. This is the AssemblyProduct name.

◆ setProductNameNull()

void Jellyfin::DTO::SystemInfo::setProductNameNull ( )

◆ setProgramDataPath()

void Jellyfin::DTO::SystemInfo::setProgramDataPath ( QString newProgramDataPath)

Gets or sets the program data path.

◆ setProgramDataPathNull()

void Jellyfin::DTO::SystemInfo::setProgramDataPathNull ( )

◆ setServerName()

void Jellyfin::DTO::SystemInfo::setServerName ( QString newServerName)

Gets or sets the name of the server.

◆ setServerNameNull()

void Jellyfin::DTO::SystemInfo::setServerNameNull ( )

◆ setStartupWizardCompleted()

void Jellyfin::DTO::SystemInfo::setStartupWizardCompleted ( std::optional< bool > newStartupWizardCompleted)

Gets or sets a value indicating whether the startup wizard is completed.

◆ setStartupWizardCompletedNull()

void Jellyfin::DTO::SystemInfo::setStartupWizardCompletedNull ( )

◆ setSupportsLibraryMonitor()

void Jellyfin::DTO::SystemInfo::setSupportsLibraryMonitor ( bool newSupportsLibraryMonitor)

Gets or sets a value indicating whether [supports library monitor].

◆ setSystemArchitecture()

void Jellyfin::DTO::SystemInfo::setSystemArchitecture ( QString newSystemArchitecture)

◆ setSystemArchitectureNull()

void Jellyfin::DTO::SystemInfo::setSystemArchitectureNull ( )

◆ setTranscodingTempPath()

void Jellyfin::DTO::SystemInfo::setTranscodingTempPath ( QString newTranscodingTempPath)

Gets or sets the transcode path.

◆ setTranscodingTempPathNull()

void Jellyfin::DTO::SystemInfo::setTranscodingTempPathNull ( )

◆ setVersion()

void Jellyfin::DTO::SystemInfo::setVersion ( QString newVersion)

Gets or sets the server version.

◆ setVersionNull()

void Jellyfin::DTO::SystemInfo::setVersionNull ( )

◆ setWebPath()

void Jellyfin::DTO::SystemInfo::setWebPath ( QString newWebPath)

Gets or sets the web UI resources path.

◆ setWebPathNull()

void Jellyfin::DTO::SystemInfo::setWebPathNull ( )

◆ setWebSocketPortNumber()

void Jellyfin::DTO::SystemInfo::setWebSocketPortNumber ( qint32 newWebSocketPortNumber)

Gets or sets the web socket port number.

◆ startupWizardCompleted()

std::optional< bool > Jellyfin::DTO::SystemInfo::startupWizardCompleted ( ) const

Gets or sets a value indicating whether the startup wizard is completed.

◆ startupWizardCompletedNull()

bool Jellyfin::DTO::SystemInfo::startupWizardCompletedNull ( ) const

◆ supportsLibraryMonitor()

bool Jellyfin::DTO::SystemInfo::supportsLibraryMonitor ( ) const

Gets or sets a value indicating whether [supports library monitor].

◆ systemArchitecture()

QString Jellyfin::DTO::SystemInfo::systemArchitecture ( ) const

◆ systemArchitectureNull()

bool Jellyfin::DTO::SystemInfo::systemArchitectureNull ( ) const

◆ toJson()

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

◆ transcodingTempPath()

QString Jellyfin::DTO::SystemInfo::transcodingTempPath ( ) const

Gets or sets the transcode path.

◆ transcodingTempPathNull()

bool Jellyfin::DTO::SystemInfo::transcodingTempPathNull ( ) const

◆ version()

QString Jellyfin::DTO::SystemInfo::version ( ) const

Gets or sets the server version.

◆ versionNull()

bool Jellyfin::DTO::SystemInfo::versionNull ( ) const

◆ webPath()

QString Jellyfin::DTO::SystemInfo::webPath ( ) const

Gets or sets the web UI resources path.

◆ webPathNull()

bool Jellyfin::DTO::SystemInfo::webPathNull ( ) const

◆ webSocketPortNumber()

qint32 Jellyfin::DTO::SystemInfo::webSocketPortNumber ( ) const

Gets or sets the web socket port number.

Member Data Documentation

◆ m_cachePath

QString Jellyfin::DTO::SystemInfo::m_cachePath
protected

◆ m_canLaunchWebBrowser

std::optional<bool> Jellyfin::DTO::SystemInfo::m_canLaunchWebBrowser = std::nullopt
protected

◆ m_canSelfRestart

std::optional<bool> Jellyfin::DTO::SystemInfo::m_canSelfRestart = std::nullopt
protected

◆ m_castReceiverApplications

QList<CastReceiverApplication> Jellyfin::DTO::SystemInfo::m_castReceiverApplications
protected

◆ m_completedInstallations

QList<InstallationInfo> Jellyfin::DTO::SystemInfo::m_completedInstallations
protected

◆ m_encoderLocation

QString Jellyfin::DTO::SystemInfo::m_encoderLocation
protected

◆ m_hasPendingRestart

bool Jellyfin::DTO::SystemInfo::m_hasPendingRestart
protected

◆ m_hasUpdateAvailable

std::optional<bool> Jellyfin::DTO::SystemInfo::m_hasUpdateAvailable = std::nullopt
protected

◆ m_internalMetadataPath

QString Jellyfin::DTO::SystemInfo::m_internalMetadataPath
protected

◆ m_isShuttingDown

bool Jellyfin::DTO::SystemInfo::m_isShuttingDown
protected

◆ m_itemsByNamePath

QString Jellyfin::DTO::SystemInfo::m_itemsByNamePath
protected

◆ m_jellyfinId

QString Jellyfin::DTO::SystemInfo::m_jellyfinId
protected

◆ m_localAddress

QString Jellyfin::DTO::SystemInfo::m_localAddress
protected

◆ m_logPath

QString Jellyfin::DTO::SystemInfo::m_logPath
protected

◆ m_operatingSystem

QString Jellyfin::DTO::SystemInfo::m_operatingSystem
protected

◆ m_operatingSystemDisplayName

QString Jellyfin::DTO::SystemInfo::m_operatingSystemDisplayName
protected

◆ m_packageName

QString Jellyfin::DTO::SystemInfo::m_packageName
protected

◆ m_productName

QString Jellyfin::DTO::SystemInfo::m_productName
protected

◆ m_programDataPath

QString Jellyfin::DTO::SystemInfo::m_programDataPath
protected

◆ m_serverName

QString Jellyfin::DTO::SystemInfo::m_serverName
protected

◆ m_startupWizardCompleted

std::optional<bool> Jellyfin::DTO::SystemInfo::m_startupWizardCompleted = std::nullopt
protected

◆ m_supportsLibraryMonitor

bool Jellyfin::DTO::SystemInfo::m_supportsLibraryMonitor
protected

◆ m_systemArchitecture

QString Jellyfin::DTO::SystemInfo::m_systemArchitecture
protected

◆ m_transcodingTempPath

QString Jellyfin::DTO::SystemInfo::m_transcodingTempPath
protected

◆ m_version

QString Jellyfin::DTO::SystemInfo::m_version
protected

◆ m_webPath

QString Jellyfin::DTO::SystemInfo::m_webPath
protected

◆ m_webSocketPortNumber

qint32 Jellyfin::DTO::SystemInfo::m_webSocketPortNumber
protected

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