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

#include <installationinfo.h>

Public Member Functions

 InstallationInfo (QString guid, QSharedPointer< PackageInfo > packageInfo)
 InstallationInfo (const InstallationInfo &other)
void replaceData (InstallationInfo &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
QString guid () const
 Gets or sets the Id.
void setGuid (QString newGuid)
 Gets or sets the Id.
QString name () const
 Gets or sets the name.
void setName (QString newName)
 Gets or sets the name.
bool nameNull () const
void setNameNull ()
QString version () const
 Gets or sets the version.
void setVersion (QString newVersion)
 Gets or sets the version.
bool versionNull () const
void setVersionNull ()
QString changelog () const
 Gets or sets the changelog for this version.
void setChangelog (QString newChangelog)
 Gets or sets the changelog for this version.
bool changelogNull () const
void setChangelogNull ()
QString sourceUrl () const
 Gets or sets the source URL.
void setSourceUrl (QString newSourceUrl)
 Gets or sets the source URL.
bool sourceUrlNull () const
void setSourceUrlNull ()
QString checksum () const
 Gets or sets a checksum for the binary.
void setChecksum (QString newChecksum)
 Gets or sets a checksum for the binary.
bool checksumNull () const
void setChecksumNull ()
QSharedPointer< PackageInfopackageInfo () const
void setPackageInfo (QSharedPointer< PackageInfo > newPackageInfo)

Static Public Member Functions

static InstallationInfo fromJson (QJsonObject source)

Protected Attributes

QString m_guid
QString m_name
QString m_version
QString m_changelog
QString m_sourceUrl
QString m_checksum
QSharedPointer< PackageInfom_packageInfo = QSharedPointer<PackageInfo>()

Constructor & Destructor Documentation

◆ InstallationInfo() [1/2]

Jellyfin::DTO::InstallationInfo::InstallationInfo ( QString guid,
QSharedPointer< PackageInfo > packageInfo )

◆ InstallationInfo() [2/2]

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

Member Function Documentation

◆ changelog()

QString Jellyfin::DTO::InstallationInfo::changelog ( ) const

Gets or sets the changelog for this version.

◆ changelogNull()

bool Jellyfin::DTO::InstallationInfo::changelogNull ( ) const

◆ checksum()

QString Jellyfin::DTO::InstallationInfo::checksum ( ) const

Gets or sets a checksum for the binary.

◆ checksumNull()

bool Jellyfin::DTO::InstallationInfo::checksumNull ( ) const

◆ fromJson()

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

◆ guid()

QString Jellyfin::DTO::InstallationInfo::guid ( ) const

Gets or sets the Id.

◆ name()

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

Gets or sets the name.

◆ nameNull()

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

◆ packageInfo()

QSharedPointer< PackageInfo > Jellyfin::DTO::InstallationInfo::packageInfo ( ) const

◆ replaceData()

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

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

◆ setChangelog()

void Jellyfin::DTO::InstallationInfo::setChangelog ( QString newChangelog)

Gets or sets the changelog for this version.

◆ setChangelogNull()

void Jellyfin::DTO::InstallationInfo::setChangelogNull ( )

◆ setChecksum()

void Jellyfin::DTO::InstallationInfo::setChecksum ( QString newChecksum)

Gets or sets a checksum for the binary.

◆ setChecksumNull()

void Jellyfin::DTO::InstallationInfo::setChecksumNull ( )

◆ setFromJson()

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

◆ setGuid()

void Jellyfin::DTO::InstallationInfo::setGuid ( QString newGuid)

Gets or sets the Id.

◆ setName()

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

Gets or sets the name.

◆ setNameNull()

void Jellyfin::DTO::InstallationInfo::setNameNull ( )

◆ setPackageInfo()

void Jellyfin::DTO::InstallationInfo::setPackageInfo ( QSharedPointer< PackageInfo > newPackageInfo)

◆ setSourceUrl()

void Jellyfin::DTO::InstallationInfo::setSourceUrl ( QString newSourceUrl)

Gets or sets the source URL.

◆ setSourceUrlNull()

void Jellyfin::DTO::InstallationInfo::setSourceUrlNull ( )

◆ setVersion()

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

Gets or sets the version.

◆ setVersionNull()

void Jellyfin::DTO::InstallationInfo::setVersionNull ( )

◆ sourceUrl()

QString Jellyfin::DTO::InstallationInfo::sourceUrl ( ) const

Gets or sets the source URL.

◆ sourceUrlNull()

bool Jellyfin::DTO::InstallationInfo::sourceUrlNull ( ) const

◆ toJson()

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

◆ version()

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

Gets or sets the version.

◆ versionNull()

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

Member Data Documentation

◆ m_changelog

QString Jellyfin::DTO::InstallationInfo::m_changelog
protected

◆ m_checksum

QString Jellyfin::DTO::InstallationInfo::m_checksum
protected

◆ m_guid

QString Jellyfin::DTO::InstallationInfo::m_guid
protected

◆ m_name

QString Jellyfin::DTO::InstallationInfo::m_name
protected

◆ m_packageInfo

QSharedPointer<PackageInfo> Jellyfin::DTO::InstallationInfo::m_packageInfo = QSharedPointer<PackageInfo>()
protected

◆ m_sourceUrl

QString Jellyfin::DTO::InstallationInfo::m_sourceUrl
protected

◆ m_version

QString Jellyfin::DTO::InstallationInfo::m_version
protected

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