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, bool canSelfRestart, bool canLaunchWebBrowser, bool hasUpdateAvailable, FFmpegLocation encoderLocation, Architecture systemArchitecture)
 
 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
 Get or sets the package name.
 
void setPackageName (QString newPackageName)
 Get 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 ()
 
bool canSelfRestart () const
 Gets or sets a value indicating whether this instance can self restart.
 
void setCanSelfRestart (bool newCanSelfRestart)
 Gets or sets a value indicating whether this instance can self restart.
 
bool canLaunchWebBrowser () const
 
void setCanLaunchWebBrowser (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 ()
 
bool hasUpdateAvailable () const
 Gets or sets a value indicating whether this instance has update available.
 
void setHasUpdateAvailable (bool newHasUpdateAvailable)
 Gets or sets a value indicating whether this instance has update available.
 
FFmpegLocation encoderLocation () const
 
void setEncoderLocation (FFmpegLocation newEncoderLocation)
 
Architecture systemArchitecture () const
 
void setSystemArchitecture (Architecture newSystemArchitecture)
 

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
 
bool m_canSelfRestart
 
bool m_canLaunchWebBrowser
 
QString m_programDataPath
 
QString m_webPath
 
QString m_itemsByNamePath
 
QString m_cachePath
 
QString m_logPath
 
QString m_internalMetadataPath
 
QString m_transcodingTempPath
 
bool m_hasUpdateAvailable
 
FFmpegLocation m_encoderLocation
 
Architecture m_systemArchitecture
 

Constructor & Destructor Documentation

◆ SystemInfo() [1/2]

Jellyfin::DTO::SystemInfo::SystemInfo ( bool hasPendingRestart,
bool isShuttingDown,
bool supportsLibraryMonitor,
qint32 webSocketPortNumber,
bool canSelfRestart,
bool canLaunchWebBrowser,
bool hasUpdateAvailable,
FFmpegLocation encoderLocation,
Architecture systemArchitecture )

◆ 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()

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

◆ canSelfRestart()

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

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

◆ completedInstallations()

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

Gets or sets the completed installations.

◆ completedInstallationsNull()

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

◆ encoderLocation()

FFmpegLocation Jellyfin::DTO::SystemInfo::encoderLocation ( ) 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()

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

Get 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 ( bool newCanLaunchWebBrowser)

◆ setCanSelfRestart()

void Jellyfin::DTO::SystemInfo::setCanSelfRestart ( bool newCanSelfRestart)

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

◆ 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 ( FFmpegLocation newEncoderLocation)

◆ 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 ( 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)

Get 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 ( Architecture newSystemArchitecture)

◆ 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()

Architecture Jellyfin::DTO::SystemInfo::systemArchitecture ( ) 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

bool Jellyfin::DTO::SystemInfo::m_canLaunchWebBrowser
protected

◆ m_canSelfRestart

bool Jellyfin::DTO::SystemInfo::m_canSelfRestart
protected

◆ m_completedInstallations

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

◆ m_encoderLocation

FFmpegLocation Jellyfin::DTO::SystemInfo::m_encoderLocation
protected

◆ m_hasPendingRestart

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

◆ m_hasUpdateAvailable

bool Jellyfin::DTO::SystemInfo::m_hasUpdateAvailable
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

Architecture 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: