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 ()
 
 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.
 
bool nameNull () const
 
void setNameNull ()
 
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.
 
bool descriptionNull () const
 
void setDescriptionNull ()
 
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.
 
bool overviewNull () const
 
void setOverviewNull ()
 
QString owner () const
 Gets or sets the owner.
 
void setOwner (QString newOwner)
 Gets or sets the owner.
 
bool ownerNull () const
 
void setOwnerNull ()
 
QString category () const
 Gets or sets the category.
 
void setCategory (QString newCategory)
 Gets or sets the category.
 
bool categoryNull () const
 
void setCategoryNull ()
 
QString guid () const
 
void setGuid (QString newGuid)
 
bool guidNull () const
 
void setGuidNull ()
 
QList< VersionInfoversions () const
 Gets or sets the versions.
 
void setVersions (QList< VersionInfo > newVersions)
 Gets or sets the versions.
 
bool versionsNull () const
 
void setVersionsNull ()
 
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 ( )

◆ 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.

◆ categoryNull()

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

◆ description()

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

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

◆ descriptionNull()

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

◆ 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.

◆ guidNull()

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

◆ 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.

◆ nameNull()

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

◆ overview()

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

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

◆ overviewNull()

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

◆ owner()

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

Gets or sets the owner.

◆ ownerNull()

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

◆ 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.

◆ setCategoryNull()

void Jellyfin::DTO::PackageInfo::setCategoryNull ( )

◆ setDescription()

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

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

◆ setDescriptionNull()

void Jellyfin::DTO::PackageInfo::setDescriptionNull ( )

◆ 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.

◆ setGuidNull()

void Jellyfin::DTO::PackageInfo::setGuidNull ( )

◆ 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.

◆ setNameNull()

void Jellyfin::DTO::PackageInfo::setNameNull ( )

◆ setOverview()

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

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

◆ setOverviewNull()

void Jellyfin::DTO::PackageInfo::setOverviewNull ( )

◆ setOwner()

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

Gets or sets the owner.

◆ setOwnerNull()

void Jellyfin::DTO::PackageInfo::setOwnerNull ( )

◆ setVersions()

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

Gets or sets the versions.

◆ setVersionsNull()

void Jellyfin::DTO::PackageInfo::setVersionsNull ( )

◆ toJson()

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

◆ versions()

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

Gets or sets the versions.

◆ versionsNull()

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

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: