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

#include <imageproviderinfo.h>

Public Member Functions

 ImageProviderInfo ()
 
 ImageProviderInfo (const ImageProviderInfo &other)
 
void replaceData (ImageProviderInfo &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString name () const
 Gets the name.
 
void setName (QString newName)
 Gets the name.
 
bool nameNull () const
 
void setNameNull ()
 
QList< ImageTypesupportedImages () const
 Gets the supported image types.
 
void setSupportedImages (QList< ImageType > newSupportedImages)
 Gets the supported image types.
 
bool supportedImagesNull () const
 
void setSupportedImagesNull ()
 

Static Public Member Functions

static ImageProviderInfo fromJson (QJsonObject source)
 

Protected Attributes

QString m_name
 
QList< ImageTypem_supportedImages
 

Constructor & Destructor Documentation

◆ ImageProviderInfo() [1/2]

Jellyfin::DTO::ImageProviderInfo::ImageProviderInfo ( )

◆ ImageProviderInfo() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ name()

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

Gets the name.

◆ nameNull()

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

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setName()

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

Gets the name.

◆ setNameNull()

void Jellyfin::DTO::ImageProviderInfo::setNameNull ( )

◆ setSupportedImages()

void Jellyfin::DTO::ImageProviderInfo::setSupportedImages ( QList< ImageType > newSupportedImages)

Gets the supported image types.

◆ setSupportedImagesNull()

void Jellyfin::DTO::ImageProviderInfo::setSupportedImagesNull ( )

◆ supportedImages()

QList< ImageType > Jellyfin::DTO::ImageProviderInfo::supportedImages ( ) const

Gets the supported image types.

◆ supportedImagesNull()

bool Jellyfin::DTO::ImageProviderInfo::supportedImagesNull ( ) const

◆ toJson()

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

Member Data Documentation

◆ m_name

QString Jellyfin::DTO::ImageProviderInfo::m_name
protected

◆ m_supportedImages

QList<ImageType> Jellyfin::DTO::ImageProviderInfo::m_supportedImages
protected

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