30#ifndef JELLYFIN_DTO_SYSTEMINFO_H
31#define JELLYFIN_DTO_SYSTEMINFO_H
73 QJsonObject
toJson()
const;
An Api client for Jellyfin. Handles requests and authentication.
Definition apiclient.h:90
Definition systeminfo.h:52
qint32 m_webSocketPortNumber
Definition systeminfo.h:357
bool isShuttingDown() const
Definition systeminfo.cpp:390
bool productNameNull() const
Definition systeminfo.cpp:311
QString m_operatingSystemDisplayName
Definition systeminfo.h:352
QString localAddress() const
Gets or sets the local address.
Definition systeminfo.cpp:267
QString programDataPath() const
Gets or sets the program data path.
Definition systeminfo.cpp:433
QString transcodingTempPath() const
Gets or sets the transcode path.
Definition systeminfo.cpp:511
static SystemInfo fromJson(QJsonObject source)
Definition systeminfo.cpp:116
bool startupWizardCompletedNull() const
Definition systeminfo.cpp:350
void setWebPathNull()
Definition systeminfo.cpp:455
QList< InstallationInfo > m_completedInstallations
Definition systeminfo.h:358
bool m_isShuttingDown
Definition systeminfo.h:355
void setCanLaunchWebBrowser(std::optional< bool > newCanLaunchWebBrowser)
Definition systeminfo.cpp:429
void setCanSelfRestart(std::optional< bool > newCanSelfRestart)
Gets or sets a value indicating whether this instance can self restart.
Definition systeminfo.cpp:423
void setCompletedInstallationsNull()
Definition systeminfo.cpp:417
void setProgramDataPathNull()
Definition systeminfo.cpp:442
void setLogPath(QString newLogPath)
Gets or sets the log path.
Definition systeminfo.cpp:487
QString webPath() const
Gets or sets the web UI resources path.
Definition systeminfo.cpp:446
void setOperatingSystemDisplayName(QString newOperatingSystemDisplayName)
Gets or sets the display name of the operating system.
Definition systeminfo.cpp:360
QString m_webPath
Definition systeminfo.h:362
QString jellyfinId() const
Gets or sets the id.
Definition systeminfo.cpp:332
void setCompletedInstallations(QList< InstallationInfo > newCompletedInstallations)
Gets or sets the completed installations.
Definition systeminfo.cpp:410
bool encoderLocationNull() const
Definition systeminfo.cpp:548
bool systemArchitectureNull() const
Definition systeminfo.cpp:561
void setItemsByNamePathNull()
Definition systeminfo.cpp:468
std::optional< bool > m_hasUpdateAvailable
Definition systeminfo.h:369
void setTranscodingTempPath(QString newTranscodingTempPath)
Gets or sets the transcode path.
Definition systeminfo.cpp:513
bool castReceiverApplicationsNull() const
Definition systeminfo.cpp:529
void setFromJson(QJsonObject source)
Definition systeminfo.cpp:123
void setJellyfinId(QString newJellyfinId)
Gets or sets the id.
Definition systeminfo.cpp:334
QString systemArchitecture() const
Definition systeminfo.cpp:556
void setLocalAddressNull()
Definition systeminfo.cpp:276
bool webPathNull() const
Definition systeminfo.cpp:451
bool transcodingTempPathNull() const
Definition systeminfo.cpp:516
bool supportsLibraryMonitor() const
Gets or sets a value indicating whether [supports library monitor].
Definition systeminfo.cpp:396
QString m_programDataPath
Definition systeminfo.h:361
QString m_version
Definition systeminfo.h:347
void setSystemArchitectureNull()
Definition systeminfo.cpp:565
void setProductNameNull()
Definition systeminfo.cpp:315
QString m_transcodingTempPath
Definition systeminfo.h:367
QString logPath() const
Gets or sets the log path.
Definition systeminfo.cpp:485
QString cachePath() const
Gets or sets the cache path.
Definition systeminfo.cpp:472
void setCachePathNull()
Definition systeminfo.cpp:481
void setStartupWizardCompletedNull()
Definition systeminfo.cpp:354
bool versionNull() const
Definition systeminfo.cpp:298
QString operatingSystem() const
Gets or sets the operating system.
Definition systeminfo.cpp:319
bool localAddressNull() const
Definition systeminfo.cpp:272
std::optional< bool > startupWizardCompleted() const
Gets or sets a value indicating whether the startup wizard is completed.
Definition systeminfo.cpp:345
bool packageNameNull() const
Definition systeminfo.cpp:376
void setEncoderLocation(QString newEncoderLocation)
Definition systeminfo.cpp:545
qint32 webSocketPortNumber() const
Gets or sets the web socket port number.
Definition systeminfo.cpp:402
bool itemsByNamePathNull() const
Definition systeminfo.cpp:464
bool operatingSystemDisplayNameNull() const
Definition systeminfo.cpp:363
std::optional< bool > m_canLaunchWebBrowser
Definition systeminfo.h:360
void setHasPendingRestart(bool newHasPendingRestart)
Gets or sets a value indicating whether this instance has pending restart.
Definition systeminfo.cpp:386
void setItemsByNamePath(QString newItemsByNamePath)
Gets or sets the items by name path.
Definition systeminfo.cpp:461
void setInternalMetadataPath(QString newInternalMetadataPath)
Gets or sets the internal metadata path.
Definition systeminfo.cpp:500
QString productName() const
Gets or sets the product name. This is the AssemblyProduct name.
Definition systeminfo.cpp:306
QString version() const
Gets or sets the server version.
Definition systeminfo.cpp:293
void setOperatingSystemDisplayNameNull()
Definition systeminfo.cpp:367
QString m_systemArchitecture
Definition systeminfo.h:371
void setWebSocketPortNumber(qint32 newWebSocketPortNumber)
Gets or sets the web socket port number.
Definition systeminfo.cpp:404
void setCastReceiverApplicationsNull()
Definition systeminfo.cpp:533
void setVersionNull()
Definition systeminfo.cpp:302
bool m_hasPendingRestart
Definition systeminfo.h:354
void setJellyfinIdNull()
Definition systeminfo.cpp:341
QString internalMetadataPath() const
Gets or sets the internal metadata path.
Definition systeminfo.cpp:498
bool internalMetadataPathNull() const
Definition systeminfo.cpp:503
QString m_operatingSystem
Definition systeminfo.h:349
void setStartupWizardCompleted(std::optional< bool > newStartupWizardCompleted)
Gets or sets a value indicating whether the startup wizard is completed.
Definition systeminfo.cpp:347
QString m_logPath
Definition systeminfo.h:365
bool programDataPathNull() const
Definition systeminfo.cpp:438
void setLocalAddress(QString newLocalAddress)
Gets or sets the local address.
Definition systeminfo.cpp:269
std::optional< bool > m_canSelfRestart
Definition systeminfo.h:359
void setLogPathNull()
Definition systeminfo.cpp:494
QString m_productName
Definition systeminfo.h:348
QString m_localAddress
Definition systeminfo.h:345
void setOperatingSystem(QString newOperatingSystem)
Gets or sets the operating system.
Definition systeminfo.cpp:321
QString m_cachePath
Definition systeminfo.h:364
QList< CastReceiverApplication > castReceiverApplications() const
Gets or sets the list of cast receiver applications.
Definition systeminfo.cpp:524
void setVersion(QString newVersion)
Gets or sets the server version.
Definition systeminfo.cpp:295
void setPackageName(QString newPackageName)
Gets or sets the package name.
Definition systeminfo.cpp:373
QString m_serverName
Definition systeminfo.h:346
bool logPathNull() const
Definition systeminfo.cpp:490
bool jellyfinIdNull() const
Definition systeminfo.cpp:337
void setPackageNameNull()
Definition systeminfo.cpp:380
void setOperatingSystemNull()
Definition systeminfo.cpp:328
void replaceData(SystemInfo &other)
Definition systeminfo.cpp:86
void setIsShuttingDown(bool newIsShuttingDown)
Definition systeminfo.cpp:392
QString m_packageName
Definition systeminfo.h:353
bool cachePathNull() const
Definition systeminfo.cpp:477
void setTranscodingTempPathNull()
Definition systeminfo.cpp:520
QString m_encoderLocation
Definition systeminfo.h:370
std::optional< bool > m_startupWizardCompleted
Definition systeminfo.h:351
void setHasUpdateAvailable(std::optional< bool > newHasUpdateAvailable)
Gets or sets a value indicating whether this instance has update available.
Definition systeminfo.cpp:539
void setCachePath(QString newCachePath)
Gets or sets the cache path.
Definition systeminfo.cpp:474
void setSystemArchitecture(QString newSystemArchitecture)
Definition systeminfo.cpp:558
std::optional< bool > canSelfRestart() const
Gets or sets a value indicating whether this instance can self restart.
Definition systeminfo.cpp:421
QList< InstallationInfo > completedInstallations() const
Gets or sets the completed installations.
Definition systeminfo.cpp:408
void setWebPath(QString newWebPath)
Gets or sets the web UI resources path.
Definition systeminfo.cpp:448
std::optional< bool > hasUpdateAvailable() const
Gets or sets a value indicating whether this instance has update available.
Definition systeminfo.cpp:537
QString m_jellyfinId
Definition systeminfo.h:350
QList< CastReceiverApplication > m_castReceiverApplications
Definition systeminfo.h:368
void setServerName(QString newServerName)
Gets or sets the name of the server.
Definition systeminfo.cpp:282
void setServerNameNull()
Definition systeminfo.cpp:289
QString operatingSystemDisplayName() const
Gets or sets the display name of the operating system.
Definition systeminfo.cpp:358
void setProgramDataPath(QString newProgramDataPath)
Gets or sets the program data path.
Definition systeminfo.cpp:435
void setProductName(QString newProductName)
Gets or sets the product name. This is the AssemblyProduct name.
Definition systeminfo.cpp:308
bool m_supportsLibraryMonitor
Definition systeminfo.h:356
QString itemsByNamePath() const
Gets or sets the items by name path.
Definition systeminfo.cpp:459
bool completedInstallationsNull() const
Definition systeminfo.cpp:413
QString encoderLocation() const
Definition systeminfo.cpp:543
void setSupportsLibraryMonitor(bool newSupportsLibraryMonitor)
Gets or sets a value indicating whether [supports library monitor].
Definition systeminfo.cpp:398
QString serverName() const
Gets or sets the name of the server.
Definition systeminfo.cpp:280
std::optional< bool > canLaunchWebBrowser() const
Definition systeminfo.cpp:427
QString m_internalMetadataPath
Definition systeminfo.h:366
SystemInfo(bool hasPendingRestart, bool isShuttingDown, bool supportsLibraryMonitor, qint32 webSocketPortNumber, std::optional< bool > canSelfRestart, std::optional< bool > canLaunchWebBrowser, std::optional< bool > hasUpdateAvailable)
Definition systeminfo.cpp:36
QString m_itemsByNamePath
Definition systeminfo.h:363
QString packageName() const
Gets or sets the package name.
Definition systeminfo.cpp:371
bool serverNameNull() const
Definition systeminfo.cpp:285
QJsonObject toJson() const
Definition systeminfo.cpp:154
void setCastReceiverApplications(QList< CastReceiverApplication > newCastReceiverApplications)
Gets or sets the list of cast receiver applications.
Definition systeminfo.cpp:526
bool hasPendingRestart() const
Gets or sets a value indicating whether this instance has pending restart.
Definition systeminfo.cpp:384
void setEncoderLocationNull()
Definition systeminfo.cpp:552
void setInternalMetadataPathNull()
Definition systeminfo.cpp:507
bool operatingSystemNull() const
Definition systeminfo.cpp:324
Definition mediaplayer2.h:20
Contains auto-generated Data Transfer Objects for the Jellyfin HTTP API.
Definition accessschedule.h:128
Jellyfin::DTO::SystemInfo SystemInfo
Definition systeminfo.h:383
AccessSchedule fromJsonValue(const QJsonValue &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:133
QJsonValue toJsonValue(const AccessSchedule &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:139
Definition jsonconvimpl.h:45