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< Version > version)
 
 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 ()
 
QSharedPointer< Versionversion () const
 
void setVersion (QSharedPointer< Version > newVersion)
 
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 ()
 

Static Public Member Functions

static InstallationInfo fromJson (QJsonObject source)
 

Protected Attributes

QString m_guid
 
QString m_name
 
QSharedPointer< Versionm_version = QSharedPointer<Version>()
 
QString m_changelog
 
QString m_sourceUrl
 
QString m_checksum
 

Constructor & Destructor Documentation

◆ InstallationInfo() [1/2]

Jellyfin::DTO::InstallationInfo::InstallationInfo ( QString guid,
QSharedPointer< Version > version )

◆ 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

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

◆ 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 ( QSharedPointer< Version > newVersion)

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

QSharedPointer< Version > Jellyfin::DTO::InstallationInfo::version ( ) 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_sourceUrl

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

◆ m_version

QSharedPointer<Version> Jellyfin::DTO::InstallationInfo::m_version = QSharedPointer<Version>()
protected

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