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

#include <plugininfo.h>

Public Member Functions

 PluginInfo (QSharedPointer< Version > version, QString jellyfinId, bool canUninstall, bool hasImage, PluginStatus status)
 
 PluginInfo (const PluginInfo &other)
 
void replaceData (PluginInfo &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
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 configurationFileName () const
 Gets or sets the name of the configuration file.
 
void setConfigurationFileName (QString newConfigurationFileName)
 Gets or sets the name of the configuration file.
 
bool configurationFileNameNull () const
 
void setConfigurationFileNameNull ()
 
QString description () const
 Gets or sets the description.
 
void setDescription (QString newDescription)
 Gets or sets the description.
 
bool descriptionNull () const
 
void setDescriptionNull ()
 
QString jellyfinId () const
 Gets or sets the unique id.
 
void setJellyfinId (QString newJellyfinId)
 Gets or sets the unique id.
 
bool canUninstall () const
 Gets or sets a value indicating whether the plugin can be uninstalled.
 
void setCanUninstall (bool newCanUninstall)
 Gets or sets a value indicating whether the plugin can be uninstalled.
 
bool hasImage () const
 Gets or sets a value indicating whether this plugin has a valid image.
 
void setHasImage (bool newHasImage)
 Gets or sets a value indicating whether this plugin has a valid image.
 
PluginStatus status () const
 
void setStatus (PluginStatus newStatus)
 

Static Public Member Functions

static PluginInfo fromJson (QJsonObject source)
 

Protected Attributes

QString m_name
 
QSharedPointer< Versionm_version = QSharedPointer<Version>()
 
QString m_configurationFileName
 
QString m_description
 
QString m_jellyfinId
 
bool m_canUninstall
 
bool m_hasImage
 
PluginStatus m_status
 

Constructor & Destructor Documentation

◆ PluginInfo() [1/2]

Jellyfin::DTO::PluginInfo::PluginInfo ( QSharedPointer< Version > version,
QString jellyfinId,
bool canUninstall,
bool hasImage,
PluginStatus status )

◆ PluginInfo() [2/2]

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

Member Function Documentation

◆ canUninstall()

bool Jellyfin::DTO::PluginInfo::canUninstall ( ) const

Gets or sets a value indicating whether the plugin can be uninstalled.

◆ configurationFileName()

QString Jellyfin::DTO::PluginInfo::configurationFileName ( ) const

Gets or sets the name of the configuration file.

◆ configurationFileNameNull()

bool Jellyfin::DTO::PluginInfo::configurationFileNameNull ( ) const

◆ description()

QString Jellyfin::DTO::PluginInfo::description ( ) const

Gets or sets the description.

◆ descriptionNull()

bool Jellyfin::DTO::PluginInfo::descriptionNull ( ) const

◆ fromJson()

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

◆ hasImage()

bool Jellyfin::DTO::PluginInfo::hasImage ( ) const

Gets or sets a value indicating whether this plugin has a valid image.

◆ jellyfinId()

QString Jellyfin::DTO::PluginInfo::jellyfinId ( ) const

Gets or sets the unique id.

◆ name()

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

Gets or sets the name.

◆ nameNull()

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

◆ replaceData()

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

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

◆ setCanUninstall()

void Jellyfin::DTO::PluginInfo::setCanUninstall ( bool newCanUninstall)

Gets or sets a value indicating whether the plugin can be uninstalled.

◆ setConfigurationFileName()

void Jellyfin::DTO::PluginInfo::setConfigurationFileName ( QString newConfigurationFileName)

Gets or sets the name of the configuration file.

◆ setConfigurationFileNameNull()

void Jellyfin::DTO::PluginInfo::setConfigurationFileNameNull ( )

◆ setDescription()

void Jellyfin::DTO::PluginInfo::setDescription ( QString newDescription)

Gets or sets the description.

◆ setDescriptionNull()

void Jellyfin::DTO::PluginInfo::setDescriptionNull ( )

◆ setFromJson()

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

◆ setHasImage()

void Jellyfin::DTO::PluginInfo::setHasImage ( bool newHasImage)

Gets or sets a value indicating whether this plugin has a valid image.

◆ setJellyfinId()

void Jellyfin::DTO::PluginInfo::setJellyfinId ( QString newJellyfinId)

Gets or sets the unique id.

◆ setName()

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

Gets or sets the name.

◆ setNameNull()

void Jellyfin::DTO::PluginInfo::setNameNull ( )

◆ setStatus()

void Jellyfin::DTO::PluginInfo::setStatus ( PluginStatus newStatus)

◆ setVersion()

void Jellyfin::DTO::PluginInfo::setVersion ( QSharedPointer< Version > newVersion)

◆ status()

PluginStatus Jellyfin::DTO::PluginInfo::status ( ) const

◆ toJson()

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

◆ version()

QSharedPointer< Version > Jellyfin::DTO::PluginInfo::version ( ) const

Member Data Documentation

◆ m_canUninstall

bool Jellyfin::DTO::PluginInfo::m_canUninstall
protected

◆ m_configurationFileName

QString Jellyfin::DTO::PluginInfo::m_configurationFileName
protected

◆ m_description

QString Jellyfin::DTO::PluginInfo::m_description
protected

◆ m_hasImage

bool Jellyfin::DTO::PluginInfo::m_hasImage
protected

◆ m_jellyfinId

QString Jellyfin::DTO::PluginInfo::m_jellyfinId
protected

◆ m_name

QString Jellyfin::DTO::PluginInfo::m_name
protected

◆ m_status

PluginStatus Jellyfin::DTO::PluginInfo::m_status
protected

◆ m_version

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

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