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

#include <publicsysteminfo.h>

Public Member Functions

 PublicSystemInfo ()
 PublicSystemInfo (const PublicSystemInfo &other)
void replaceData (PublicSystemInfo &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 ()

Static Public Member Functions

static PublicSystemInfo 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

Constructor & Destructor Documentation

◆ PublicSystemInfo() [1/2]

Jellyfin::DTO::PublicSystemInfo::PublicSystemInfo ( )

◆ PublicSystemInfo() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ jellyfinId()

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

Gets or sets the id.

◆ jellyfinIdNull()

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

◆ localAddress()

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

Gets or sets the local address.

◆ localAddressNull()

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

◆ operatingSystem()

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

Gets or sets the operating system.

◆ operatingSystemNull()

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

◆ productName()

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

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

◆ productNameNull()

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

◆ replaceData()

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

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

◆ serverName()

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

Gets or sets the name of the server.

◆ serverNameNull()

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

◆ setFromJson()

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

◆ setJellyfinId()

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

Gets or sets the id.

◆ setJellyfinIdNull()

void Jellyfin::DTO::PublicSystemInfo::setJellyfinIdNull ( )

◆ setLocalAddress()

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

Gets or sets the local address.

◆ setLocalAddressNull()

void Jellyfin::DTO::PublicSystemInfo::setLocalAddressNull ( )

◆ setOperatingSystem()

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

Gets or sets the operating system.

◆ setOperatingSystemNull()

void Jellyfin::DTO::PublicSystemInfo::setOperatingSystemNull ( )

◆ setProductName()

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

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

◆ setProductNameNull()

void Jellyfin::DTO::PublicSystemInfo::setProductNameNull ( )

◆ setServerName()

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

Gets or sets the name of the server.

◆ setServerNameNull()

void Jellyfin::DTO::PublicSystemInfo::setServerNameNull ( )

◆ setStartupWizardCompleted()

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

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

◆ setStartupWizardCompletedNull()

void Jellyfin::DTO::PublicSystemInfo::setStartupWizardCompletedNull ( )

◆ setVersion()

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

Gets or sets the server version.

◆ setVersionNull()

void Jellyfin::DTO::PublicSystemInfo::setVersionNull ( )

◆ startupWizardCompleted()

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

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

◆ startupWizardCompletedNull()

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

◆ toJson()

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

◆ version()

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

Gets or sets the server version.

◆ versionNull()

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

Member Data Documentation

◆ m_jellyfinId

QString Jellyfin::DTO::PublicSystemInfo::m_jellyfinId
protected

◆ m_localAddress

QString Jellyfin::DTO::PublicSystemInfo::m_localAddress
protected

◆ m_operatingSystem

QString Jellyfin::DTO::PublicSystemInfo::m_operatingSystem
protected

◆ m_productName

QString Jellyfin::DTO::PublicSystemInfo::m_productName
protected

◆ m_serverName

QString Jellyfin::DTO::PublicSystemInfo::m_serverName
protected

◆ m_startupWizardCompleted

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

◆ m_version

QString Jellyfin::DTO::PublicSystemInfo::m_version
protected

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