30#ifndef JELLYFIN_DTO_PLUGININFO_H
31#define JELLYFIN_DTO_PLUGININFO_H
35#include <QSharedPointer>
54 QSharedPointer<Version>
version,
70 QJsonObject
toJson()
const;
85 QSharedPointer<Version>
version()
const;
87 void setVersion(QSharedPointer<Version> newVersion);
146 QSharedPointer<Version>
m_version = QSharedPointer<Version>();
Definition plugininfo.h:51
QString m_name
Definition plugininfo.h:145
QString m_configurationFileName
Definition plugininfo.h:147
QSharedPointer< Version > version() const
Definition plugininfo.cpp:132
bool nameNull() const
Definition plugininfo.cpp:124
void setDescriptionNull()
Definition plugininfo.cpp:160
void setStatus(PluginStatus newStatus)
Definition plugininfo.cpp:184
QString description() const
Gets or sets the description.
Definition plugininfo.cpp:151
void setName(QString newName)
Gets or sets the name.
Definition plugininfo.cpp:121
static PluginInfo fromJson(QJsonObject source)
Definition plugininfo.cpp:74
bool hasImage() const
Gets or sets a value indicating whether this plugin has a valid image.
Definition plugininfo.cpp:176
void setNameNull()
Definition plugininfo.cpp:128
void setConfigurationFileName(QString newConfigurationFileName)
Gets or sets the name of the configuration file.
Definition plugininfo.cpp:140
void setFromJson(QJsonObject source)
Definition plugininfo.cpp:81
void setCanUninstall(bool newCanUninstall)
Gets or sets a value indicating whether the plugin can be uninstalled.
Definition plugininfo.cpp:172
void setConfigurationFileNameNull()
Definition plugininfo.cpp:147
QString jellyfinId() const
Gets or sets the unique id.
Definition plugininfo.cpp:164
QString configurationFileName() const
Gets or sets the name of the configuration file.
Definition plugininfo.cpp:138
bool m_canUninstall
Definition plugininfo.h:150
void setHasImage(bool newHasImage)
Gets or sets a value indicating whether this plugin has a valid image.
Definition plugininfo.cpp:178
void replaceData(PluginInfo &other)
Definition plugininfo.cpp:63
bool m_hasImage
Definition plugininfo.h:151
void setVersion(QSharedPointer< Version > newVersion)
Definition plugininfo.cpp:134
QString name() const
Gets or sets the name.
Definition plugininfo.cpp:119
void setDescription(QString newDescription)
Gets or sets the description.
Definition plugininfo.cpp:153
bool configurationFileNameNull() const
Definition plugininfo.cpp:143
QSharedPointer< Version > m_version
Definition plugininfo.h:146
PluginStatus m_status
Definition plugininfo.h:152
void setJellyfinId(QString newJellyfinId)
Gets or sets the unique id.
Definition plugininfo.cpp:166
PluginStatus status() const
Definition plugininfo.cpp:182
QString m_description
Definition plugininfo.h:148
QJsonObject toJson() const
Definition plugininfo.cpp:93
QString m_jellyfinId
Definition plugininfo.h:149
bool canUninstall() const
Gets or sets a value indicating whether the plugin can be uninstalled.
Definition plugininfo.cpp:170
bool descriptionNull() const
Definition plugininfo.cpp:156
Value
Definition pluginstatus.h:49
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