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

#include <versioninfo.h>

Public Member Functions

 VersionInfo (QString version, QString versionNumber, QString repositoryName, QString repositoryUrl)
 VersionInfo (const VersionInfo &other)
void replaceData (VersionInfo &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
QString version () const
 Gets or sets the version.
void setVersion (QString newVersion)
 Gets or sets the version.
QString versionNumber () const
 Gets the version as a System.Version.
void setVersionNumber (QString newVersionNumber)
 Gets the version as a System.Version.
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 targetAbi () const
 Gets or sets the ABI that this version was built against.
void setTargetAbi (QString newTargetAbi)
 Gets or sets the ABI that this version was built against.
bool targetAbiNull () const
void setTargetAbiNull ()
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 ()
QString timestamp () const
 Gets or sets a timestamp of when the binary was built.
void setTimestamp (QString newTimestamp)
 Gets or sets a timestamp of when the binary was built.
bool timestampNull () const
void setTimestampNull ()
QString repositoryName () const
 Gets or sets the repository name.
void setRepositoryName (QString newRepositoryName)
 Gets or sets the repository name.
QString repositoryUrl () const
 Gets or sets the repository url.
void setRepositoryUrl (QString newRepositoryUrl)
 Gets or sets the repository url.

Static Public Member Functions

static VersionInfo fromJson (QJsonObject source)

Protected Attributes

QString m_version
QString m_versionNumber
QString m_changelog
QString m_targetAbi
QString m_sourceUrl
QString m_checksum
QString m_timestamp
QString m_repositoryName
QString m_repositoryUrl

Constructor & Destructor Documentation

◆ VersionInfo() [1/2]

Jellyfin::DTO::VersionInfo::VersionInfo ( QString version,
QString versionNumber,
QString repositoryName,
QString repositoryUrl )

◆ VersionInfo() [2/2]

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

Member Function Documentation

◆ changelog()

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

Gets or sets the changelog for this version.

◆ changelogNull()

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

◆ checksum()

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

Gets or sets a checksum for the binary.

◆ checksumNull()

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

◆ fromJson()

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

◆ replaceData()

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

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

◆ repositoryName()

QString Jellyfin::DTO::VersionInfo::repositoryName ( ) const

Gets or sets the repository name.

◆ repositoryUrl()

QString Jellyfin::DTO::VersionInfo::repositoryUrl ( ) const

Gets or sets the repository url.

◆ setChangelog()

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

Gets or sets the changelog for this version.

◆ setChangelogNull()

void Jellyfin::DTO::VersionInfo::setChangelogNull ( )

◆ setChecksum()

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

Gets or sets a checksum for the binary.

◆ setChecksumNull()

void Jellyfin::DTO::VersionInfo::setChecksumNull ( )

◆ setFromJson()

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

◆ setRepositoryName()

void Jellyfin::DTO::VersionInfo::setRepositoryName ( QString newRepositoryName)

Gets or sets the repository name.

◆ setRepositoryUrl()

void Jellyfin::DTO::VersionInfo::setRepositoryUrl ( QString newRepositoryUrl)

Gets or sets the repository url.

◆ setSourceUrl()

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

Gets or sets the source URL.

◆ setSourceUrlNull()

void Jellyfin::DTO::VersionInfo::setSourceUrlNull ( )

◆ setTargetAbi()

void Jellyfin::DTO::VersionInfo::setTargetAbi ( QString newTargetAbi)

Gets or sets the ABI that this version was built against.

◆ setTargetAbiNull()

void Jellyfin::DTO::VersionInfo::setTargetAbiNull ( )

◆ setTimestamp()

void Jellyfin::DTO::VersionInfo::setTimestamp ( QString newTimestamp)

Gets or sets a timestamp of when the binary was built.

◆ setTimestampNull()

void Jellyfin::DTO::VersionInfo::setTimestampNull ( )

◆ setVersion()

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

Gets or sets the version.

◆ setVersionNumber()

void Jellyfin::DTO::VersionInfo::setVersionNumber ( QString newVersionNumber)

Gets the version as a System.Version.

◆ sourceUrl()

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

Gets or sets the source URL.

◆ sourceUrlNull()

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

◆ targetAbi()

QString Jellyfin::DTO::VersionInfo::targetAbi ( ) const

Gets or sets the ABI that this version was built against.

◆ targetAbiNull()

bool Jellyfin::DTO::VersionInfo::targetAbiNull ( ) const

◆ timestamp()

QString Jellyfin::DTO::VersionInfo::timestamp ( ) const

Gets or sets a timestamp of when the binary was built.

◆ timestampNull()

bool Jellyfin::DTO::VersionInfo::timestampNull ( ) const

◆ toJson()

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

◆ version()

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

Gets or sets the version.

◆ versionNumber()

QString Jellyfin::DTO::VersionInfo::versionNumber ( ) const

Gets the version as a System.Version.

Member Data Documentation

◆ m_changelog

QString Jellyfin::DTO::VersionInfo::m_changelog
protected

◆ m_checksum

QString Jellyfin::DTO::VersionInfo::m_checksum
protected

◆ m_repositoryName

QString Jellyfin::DTO::VersionInfo::m_repositoryName
protected

◆ m_repositoryUrl

QString Jellyfin::DTO::VersionInfo::m_repositoryUrl
protected

◆ m_sourceUrl

QString Jellyfin::DTO::VersionInfo::m_sourceUrl
protected

◆ m_targetAbi

QString Jellyfin::DTO::VersionInfo::m_targetAbi
protected

◆ m_timestamp

QString Jellyfin::DTO::VersionInfo::m_timestamp
protected

◆ m_version

QString Jellyfin::DTO::VersionInfo::m_version
protected

◆ m_versionNumber

QString Jellyfin::DTO::VersionInfo::m_versionNumber
protected

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