30#ifndef JELLYFIN_DTO_INSTALLATIONINFO_H
31#define JELLYFIN_DTO_INSTALLATIONINFO_H
35#include <QSharedPointer>
66 QJsonObject
toJson()
const;
90 QSharedPointer<Version>
version()
const;
92 void setVersion(QSharedPointer<Version> newVersion);
131 QSharedPointer<Version>
m_version = QSharedPointer<Version>();
Definition installationinfo.h:50
QString guid() const
Gets or sets the Id.
Definition installationinfo.cpp:109
void replaceData(InstallationInfo &other)
Definition installationinfo.cpp:55
void setName(QString newName)
Gets or sets the name.
Definition installationinfo.cpp:117
void setSourceUrlNull()
Definition installationinfo.cpp:156
QString m_sourceUrl
Definition installationinfo.h:133
void setNameNull()
Definition installationinfo.cpp:124
QString m_changelog
Definition installationinfo.h:132
void setChecksumNull()
Definition installationinfo.cpp:169
QString checksum() const
Gets or sets a checksum for the binary.
Definition installationinfo.cpp:160
QString m_checksum
Definition installationinfo.h:134
QString sourceUrl() const
Gets or sets the source URL.
Definition installationinfo.cpp:147
static InstallationInfo fromJson(QJsonObject source)
Definition installationinfo.cpp:64
void setGuid(QString newGuid)
Gets or sets the Id.
Definition installationinfo.cpp:111
bool changelogNull() const
Definition installationinfo.cpp:139
QSharedPointer< Version > m_version
Definition installationinfo.h:131
bool nameNull() const
Definition installationinfo.cpp:120
QString changelog() const
Gets or sets the changelog for this version.
Definition installationinfo.cpp:134
void setChangelogNull()
Definition installationinfo.cpp:143
QSharedPointer< Version > version() const
Definition installationinfo.cpp:128
void setChangelog(QString newChangelog)
Gets or sets the changelog for this version.
Definition installationinfo.cpp:136
void setSourceUrl(QString newSourceUrl)
Gets or sets the source URL.
Definition installationinfo.cpp:149
QString m_name
Definition installationinfo.h:130
QString m_guid
Definition installationinfo.h:129
bool sourceUrlNull() const
Definition installationinfo.cpp:152
bool checksumNull() const
Definition installationinfo.cpp:165
void setChecksum(QString newChecksum)
Gets or sets a checksum for the binary.
Definition installationinfo.cpp:162
QJsonObject toJson() const
Definition installationinfo.cpp:81
void setVersion(QSharedPointer< Version > newVersion)
Definition installationinfo.cpp:130
QString name() const
Gets or sets the name.
Definition installationinfo.cpp:115
void setFromJson(QJsonObject source)
Definition installationinfo.cpp:71
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