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

#include <iplugin.h>

Public Member Functions

 IPlugin (QString jellyfinId, QSharedPointer< Version > version, bool canUninstall)
 
 IPlugin (const IPlugin &other)
 
void replaceData (IPlugin &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString name () const
 Gets the name of the plugin.
 
void setName (QString newName)
 Gets the name of the plugin.
 
bool nameNull () const
 
void setNameNull ()
 
QString description () const
 Gets the Description.
 
void setDescription (QString newDescription)
 Gets the Description.
 
bool descriptionNull () const
 
void setDescriptionNull ()
 
QString jellyfinId () const
 Gets the unique id.
 
void setJellyfinId (QString newJellyfinId)
 Gets the unique id.
 
QSharedPointer< Versionversion () const
 
void setVersion (QSharedPointer< Version > newVersion)
 
QString assemblyFilePath () const
 Gets the path to the assembly file.
 
void setAssemblyFilePath (QString newAssemblyFilePath)
 Gets the path to the assembly file.
 
bool assemblyFilePathNull () const
 
void setAssemblyFilePathNull ()
 
bool canUninstall () const
 Gets a value indicating whether the plugin can be uninstalled.
 
void setCanUninstall (bool newCanUninstall)
 Gets a value indicating whether the plugin can be uninstalled.
 
QString dataFolderPath () const
 Gets the full path to the data folder, where the plugin can store any miscellaneous files needed.
 
void setDataFolderPath (QString newDataFolderPath)
 Gets the full path to the data folder, where the plugin can store any miscellaneous files needed.
 
bool dataFolderPathNull () const
 
void setDataFolderPathNull ()
 

Static Public Member Functions

static IPlugin fromJson (QJsonObject source)
 

Protected Attributes

QString m_name
 
QString m_description
 
QString m_jellyfinId
 
QSharedPointer< Versionm_version = QSharedPointer<Version>()
 
QString m_assemblyFilePath
 
bool m_canUninstall
 
QString m_dataFolderPath
 

Constructor & Destructor Documentation

◆ IPlugin() [1/2]

Jellyfin::DTO::IPlugin::IPlugin ( QString jellyfinId,
QSharedPointer< Version > version,
bool canUninstall )

◆ IPlugin() [2/2]

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

Member Function Documentation

◆ assemblyFilePath()

QString Jellyfin::DTO::IPlugin::assemblyFilePath ( ) const

Gets the path to the assembly file.

◆ assemblyFilePathNull()

bool Jellyfin::DTO::IPlugin::assemblyFilePathNull ( ) const

◆ canUninstall()

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

Gets a value indicating whether the plugin can be uninstalled.

◆ dataFolderPath()

QString Jellyfin::DTO::IPlugin::dataFolderPath ( ) const

Gets the full path to the data folder, where the plugin can store any miscellaneous files needed.

◆ dataFolderPathNull()

bool Jellyfin::DTO::IPlugin::dataFolderPathNull ( ) const

◆ description()

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

Gets the Description.

◆ descriptionNull()

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

◆ fromJson()

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

◆ jellyfinId()

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

Gets the unique id.

◆ name()

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

Gets the name of the plugin.

◆ nameNull()

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

◆ replaceData()

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

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

◆ setAssemblyFilePath()

void Jellyfin::DTO::IPlugin::setAssemblyFilePath ( QString newAssemblyFilePath)

Gets the path to the assembly file.

◆ setAssemblyFilePathNull()

void Jellyfin::DTO::IPlugin::setAssemblyFilePathNull ( )

◆ setCanUninstall()

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

Gets a value indicating whether the plugin can be uninstalled.

◆ setDataFolderPath()

void Jellyfin::DTO::IPlugin::setDataFolderPath ( QString newDataFolderPath)

Gets the full path to the data folder, where the plugin can store any miscellaneous files needed.

◆ setDataFolderPathNull()

void Jellyfin::DTO::IPlugin::setDataFolderPathNull ( )

◆ setDescription()

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

Gets the Description.

◆ setDescriptionNull()

void Jellyfin::DTO::IPlugin::setDescriptionNull ( )

◆ setFromJson()

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

◆ setJellyfinId()

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

Gets the unique id.

◆ setName()

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

Gets the name of the plugin.

◆ setNameNull()

void Jellyfin::DTO::IPlugin::setNameNull ( )

◆ setVersion()

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

◆ toJson()

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

◆ version()

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

Member Data Documentation

◆ m_assemblyFilePath

QString Jellyfin::DTO::IPlugin::m_assemblyFilePath
protected

◆ m_canUninstall

bool Jellyfin::DTO::IPlugin::m_canUninstall
protected

◆ m_dataFolderPath

QString Jellyfin::DTO::IPlugin::m_dataFolderPath
protected

◆ m_description

QString Jellyfin::DTO::IPlugin::m_description
protected

◆ m_jellyfinId

QString Jellyfin::DTO::IPlugin::m_jellyfinId
protected

◆ m_name

QString Jellyfin::DTO::IPlugin::m_name
protected

◆ m_version

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

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