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

#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
 

Constructor & Destructor Documentation

◆ RepositoryInfo() [1/2]

Jellyfin::DTO::RepositoryInfo::RepositoryInfo ( bool enabled)

◆ RepositoryInfo() [2/2]

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

Member Function Documentation

◆ enabled()

bool Jellyfin::DTO::RepositoryInfo::enabled ( ) const

Gets or sets a value indicating whether the repository is enabled.

◆ fromJson()

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

◆ name()

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

Gets or sets the name.

◆ nameNull()

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

◆ replaceData()

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

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

◆ setEnabled()

void Jellyfin::DTO::RepositoryInfo::setEnabled ( bool newEnabled)

Gets or sets a value indicating whether the repository is enabled.

◆ setFromJson()

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

◆ setName()

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

Gets or sets the name.

◆ setNameNull()

void Jellyfin::DTO::RepositoryInfo::setNameNull ( )

◆ setUrl()

void Jellyfin::DTO::RepositoryInfo::setUrl ( QString newUrl)

Gets or sets the URL.

◆ setUrlNull()

void Jellyfin::DTO::RepositoryInfo::setUrlNull ( )

◆ toJson()

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

◆ url()

QString Jellyfin::DTO::RepositoryInfo::url ( ) const

Gets or sets the URL.

◆ urlNull()

bool Jellyfin::DTO::RepositoryInfo::urlNull ( ) const

Member Data Documentation

◆ m_enabled

bool Jellyfin::DTO::RepositoryInfo::m_enabled
protected

◆ m_name

QString Jellyfin::DTO::RepositoryInfo::m_name
protected

◆ m_url

QString Jellyfin::DTO::RepositoryInfo::m_url
protected

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