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

#include <packageinfo.h>

Public Member Functions

 PackageInfo (QString name, QString description, QString overview, QString owner, QString category, QString guid, QList< VersionInfo > versions)
 PackageInfo (const PackageInfo &other)
void replaceData (PackageInfo &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.
QString description () const
 Gets or sets a long description of the plugin containing features or helpful explanations.
void setDescription (QString newDescription)
 Gets or sets a long description of the plugin containing features or helpful explanations.
QString overview () const
 Gets or sets a short overview of what the plugin does.
void setOverview (QString newOverview)
 Gets or sets a short overview of what the plugin does.
QString owner () const
 Gets or sets the owner.
void setOwner (QString newOwner)
 Gets or sets the owner.
QString category () const
 Gets or sets the category.
void setCategory (QString newCategory)
 Gets or sets the category.
QString guid () const
void setGuid (QString newGuid)
QList< VersionInfoversions () const
 Gets or sets the versions.
void setVersions (QList< VersionInfo > newVersions)
 Gets or sets the versions.
QString imageUrl () const
 Gets or sets the image url for the package.
void setImageUrl (QString newImageUrl)
 Gets or sets the image url for the package.
bool imageUrlNull () const
void setImageUrlNull ()

Static Public Member Functions

static PackageInfo fromJson (QJsonObject source)

Protected Attributes

QString m_name
QString m_description
QString m_overview
QString m_owner
QString m_category
QString m_guid
QList< VersionInfom_versions
QString m_imageUrl

Constructor & Destructor Documentation

◆ PackageInfo() [1/2]

Jellyfin::DTO::PackageInfo::PackageInfo ( QString name,
QString description,
QString overview,
QString owner,
QString category,
QString guid,
QList< VersionInfo > versions )

◆ PackageInfo() [2/2]

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

Member Function Documentation

◆ category()

QString Jellyfin::DTO::PackageInfo::category ( ) const

Gets or sets the category.

◆ description()

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

Gets or sets a long description of the plugin containing features or helpful explanations.

◆ fromJson()

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

◆ guid()

QString Jellyfin::DTO::PackageInfo::guid ( ) const
   @brief Gets or sets the guid of the assembly associated with this plugin.

This is used to identify the proper item for automatic updates.

◆ imageUrl()

QString Jellyfin::DTO::PackageInfo::imageUrl ( ) const

Gets or sets the image url for the package.

◆ imageUrlNull()

bool Jellyfin::DTO::PackageInfo::imageUrlNull ( ) const

◆ name()

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

Gets or sets the name.

◆ overview()

QString Jellyfin::DTO::PackageInfo::overview ( ) const

Gets or sets a short overview of what the plugin does.

◆ owner()

QString Jellyfin::DTO::PackageInfo::owner ( ) const

Gets or sets the owner.

◆ replaceData()

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

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

◆ setCategory()

void Jellyfin::DTO::PackageInfo::setCategory ( QString newCategory)

Gets or sets the category.

◆ setDescription()

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

Gets or sets a long description of the plugin containing features or helpful explanations.

◆ setFromJson()

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

◆ setGuid()

void Jellyfin::DTO::PackageInfo::setGuid ( QString newGuid)
  @brief Gets or sets the guid of the assembly associated with this plugin.

This is used to identify the proper item for automatic updates.

◆ setImageUrl()

void Jellyfin::DTO::PackageInfo::setImageUrl ( QString newImageUrl)

Gets or sets the image url for the package.

◆ setImageUrlNull()

void Jellyfin::DTO::PackageInfo::setImageUrlNull ( )

◆ setName()

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

Gets or sets the name.

◆ setOverview()

void Jellyfin::DTO::PackageInfo::setOverview ( QString newOverview)

Gets or sets a short overview of what the plugin does.

◆ setOwner()

void Jellyfin::DTO::PackageInfo::setOwner ( QString newOwner)

Gets or sets the owner.

◆ setVersions()

void Jellyfin::DTO::PackageInfo::setVersions ( QList< VersionInfo > newVersions)

Gets or sets the versions.

◆ toJson()

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

◆ versions()

QList< VersionInfo > Jellyfin::DTO::PackageInfo::versions ( ) const

Gets or sets the versions.

Member Data Documentation

◆ m_category

QString Jellyfin::DTO::PackageInfo::m_category
protected

◆ m_description

QString Jellyfin::DTO::PackageInfo::m_description
protected

◆ m_guid

QString Jellyfin::DTO::PackageInfo::m_guid
protected

◆ m_imageUrl

QString Jellyfin::DTO::PackageInfo::m_imageUrl
protected

◆ m_name

QString Jellyfin::DTO::PackageInfo::m_name
protected

◆ m_overview

QString Jellyfin::DTO::PackageInfo::m_overview
protected

◆ m_owner

QString Jellyfin::DTO::PackageInfo::m_owner
protected

◆ m_versions

QList<VersionInfo> Jellyfin::DTO::PackageInfo::m_versions
protected

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