![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <repositoryinfo.h>
Public Member Functions | |
| RepositoryInfo (bool enabled) | |
| RepositoryInfo (const RepositoryInfo &other) | |
| void | replaceData (RepositoryInfo &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 | url () const |
| Gets or sets the URL. | |
| void | setUrl (QString newUrl) |
| Gets or sets the URL. | |
| bool | urlNull () const |
| void | setUrlNull () |
| bool | enabled () const |
| Gets or sets a value indicating whether the repository is enabled. | |
| void | setEnabled (bool newEnabled) |
| Gets or sets a value indicating whether the repository is enabled. | |
Static Public Member Functions | |
| static RepositoryInfo | fromJson (QJsonObject source) |
Protected Attributes | |
| QString | m_name |
| QString | m_url |
| bool | m_enabled |
| Jellyfin::DTO::RepositoryInfo::RepositoryInfo | ( | bool | enabled | ) |
| Jellyfin::DTO::RepositoryInfo::RepositoryInfo | ( | const RepositoryInfo & | other | ) |
| bool Jellyfin::DTO::RepositoryInfo::enabled | ( | ) | const |
Gets or sets a value indicating whether the repository is enabled.
|
static |
| QString Jellyfin::DTO::RepositoryInfo::name | ( | ) | const |
Gets or sets the name.
| bool Jellyfin::DTO::RepositoryInfo::nameNull | ( | ) | const |
| void Jellyfin::DTO::RepositoryInfo::replaceData | ( | RepositoryInfo & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::RepositoryInfo::setEnabled | ( | bool | newEnabled | ) |
Gets or sets a value indicating whether the repository is enabled.
| void Jellyfin::DTO::RepositoryInfo::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::RepositoryInfo::setName | ( | QString | newName | ) |
Gets or sets the name.
| void Jellyfin::DTO::RepositoryInfo::setNameNull | ( | ) |
| void Jellyfin::DTO::RepositoryInfo::setUrl | ( | QString | newUrl | ) |
Gets or sets the URL.
| void Jellyfin::DTO::RepositoryInfo::setUrlNull | ( | ) |
| QJsonObject Jellyfin::DTO::RepositoryInfo::toJson | ( | ) | const |
| QString Jellyfin::DTO::RepositoryInfo::url | ( | ) | const |
Gets or sets the URL.
| bool Jellyfin::DTO::RepositoryInfo::urlNull | ( | ) | const |
|
protected |
|
protected |
|
protected |