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

#include <librarytypeoptionsdto.h>

Public Member Functions

 LibraryTypeOptionsDto (QList< LibraryOptionInfoDto > metadataFetchers, QList< LibraryOptionInfoDto > imageFetchers, QList< ImageType > supportedImageTypes, QList< ImageOption > defaultImageOptions)
 LibraryTypeOptionsDto (const LibraryTypeOptionsDto &other)
void replaceData (LibraryTypeOptionsDto &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
QString type () const
 Gets or sets the type.
void setType (QString newType)
 Gets or sets the type.
bool typeNull () const
void setTypeNull ()
QList< LibraryOptionInfoDtometadataFetchers () const
 Gets or sets the metadata fetchers.
void setMetadataFetchers (QList< LibraryOptionInfoDto > newMetadataFetchers)
 Gets or sets the metadata fetchers.
QList< LibraryOptionInfoDtoimageFetchers () const
 Gets or sets the image fetchers.
void setImageFetchers (QList< LibraryOptionInfoDto > newImageFetchers)
 Gets or sets the image fetchers.
QList< ImageTypesupportedImageTypes () const
 Gets or sets the supported image types.
void setSupportedImageTypes (QList< ImageType > newSupportedImageTypes)
 Gets or sets the supported image types.
QList< ImageOptiondefaultImageOptions () const
 Gets or sets the default image options.
void setDefaultImageOptions (QList< ImageOption > newDefaultImageOptions)
 Gets or sets the default image options.

Static Public Member Functions

static LibraryTypeOptionsDto fromJson (QJsonObject source)

Protected Attributes

QString m_type
QList< LibraryOptionInfoDtom_metadataFetchers
QList< LibraryOptionInfoDtom_imageFetchers
QList< ImageTypem_supportedImageTypes
QList< ImageOptionm_defaultImageOptions

Constructor & Destructor Documentation

◆ LibraryTypeOptionsDto() [1/2]

Jellyfin::DTO::LibraryTypeOptionsDto::LibraryTypeOptionsDto ( QList< LibraryOptionInfoDto > metadataFetchers,
QList< LibraryOptionInfoDto > imageFetchers,
QList< ImageType > supportedImageTypes,
QList< ImageOption > defaultImageOptions )

◆ LibraryTypeOptionsDto() [2/2]

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

Member Function Documentation

◆ defaultImageOptions()

QList< ImageOption > Jellyfin::DTO::LibraryTypeOptionsDto::defaultImageOptions ( ) const

Gets or sets the default image options.

◆ fromJson()

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

◆ imageFetchers()

QList< LibraryOptionInfoDto > Jellyfin::DTO::LibraryTypeOptionsDto::imageFetchers ( ) const

Gets or sets the image fetchers.

◆ metadataFetchers()

QList< LibraryOptionInfoDto > Jellyfin::DTO::LibraryTypeOptionsDto::metadataFetchers ( ) const

Gets or sets the metadata fetchers.

◆ replaceData()

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

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

◆ setDefaultImageOptions()

void Jellyfin::DTO::LibraryTypeOptionsDto::setDefaultImageOptions ( QList< ImageOption > newDefaultImageOptions)

Gets or sets the default image options.

◆ setFromJson()

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

◆ setImageFetchers()

void Jellyfin::DTO::LibraryTypeOptionsDto::setImageFetchers ( QList< LibraryOptionInfoDto > newImageFetchers)

Gets or sets the image fetchers.

◆ setMetadataFetchers()

void Jellyfin::DTO::LibraryTypeOptionsDto::setMetadataFetchers ( QList< LibraryOptionInfoDto > newMetadataFetchers)

Gets or sets the metadata fetchers.

◆ setSupportedImageTypes()

void Jellyfin::DTO::LibraryTypeOptionsDto::setSupportedImageTypes ( QList< ImageType > newSupportedImageTypes)

Gets or sets the supported image types.

◆ setType()

void Jellyfin::DTO::LibraryTypeOptionsDto::setType ( QString newType)

Gets or sets the type.

◆ setTypeNull()

void Jellyfin::DTO::LibraryTypeOptionsDto::setTypeNull ( )

◆ supportedImageTypes()

QList< ImageType > Jellyfin::DTO::LibraryTypeOptionsDto::supportedImageTypes ( ) const

Gets or sets the supported image types.

◆ toJson()

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

◆ type()

QString Jellyfin::DTO::LibraryTypeOptionsDto::type ( ) const

Gets or sets the type.

◆ typeNull()

bool Jellyfin::DTO::LibraryTypeOptionsDto::typeNull ( ) const

Member Data Documentation

◆ m_defaultImageOptions

QList<ImageOption> Jellyfin::DTO::LibraryTypeOptionsDto::m_defaultImageOptions
protected

◆ m_imageFetchers

QList<LibraryOptionInfoDto> Jellyfin::DTO::LibraryTypeOptionsDto::m_imageFetchers
protected

◆ m_metadataFetchers

QList<LibraryOptionInfoDto> Jellyfin::DTO::LibraryTypeOptionsDto::m_metadataFetchers
protected

◆ m_supportedImageTypes

QList<ImageType> Jellyfin::DTO::LibraryTypeOptionsDto::m_supportedImageTypes
protected

◆ m_type

QString Jellyfin::DTO::LibraryTypeOptionsDto::m_type
protected

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