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

#include <imagebynameinfo.h>

Public Member Functions

 ImageByNameInfo (qint64 fileLength)
 
 ImageByNameInfo (const ImageByNameInfo &other)
 
void replaceData (ImageByNameInfo &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 theme () const
 Gets or sets the theme.
 
void setTheme (QString newTheme)
 Gets or sets the theme.
 
bool themeNull () const
 
void setThemeNull ()
 
QString context () const
 Gets or sets the context.
 
void setContext (QString newContext)
 Gets or sets the context.
 
bool contextNull () const
 
void setContextNull ()
 
qint64 fileLength () const
 Gets or sets the length of the file.
 
void setFileLength (qint64 newFileLength)
 Gets or sets the length of the file.
 
QString format () const
 Gets or sets the format.
 
void setFormat (QString newFormat)
 Gets or sets the format.
 
bool formatNull () const
 
void setFormatNull ()
 

Static Public Member Functions

static ImageByNameInfo fromJson (QJsonObject source)
 

Protected Attributes

QString m_name
 
QString m_theme
 
QString m_context
 
qint64 m_fileLength
 
QString m_format
 

Constructor & Destructor Documentation

◆ ImageByNameInfo() [1/2]

Jellyfin::DTO::ImageByNameInfo::ImageByNameInfo ( qint64 fileLength)

◆ ImageByNameInfo() [2/2]

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

Member Function Documentation

◆ context()

QString Jellyfin::DTO::ImageByNameInfo::context ( ) const

Gets or sets the context.

◆ contextNull()

bool Jellyfin::DTO::ImageByNameInfo::contextNull ( ) const

◆ fileLength()

qint64 Jellyfin::DTO::ImageByNameInfo::fileLength ( ) const

Gets or sets the length of the file.

◆ format()

QString Jellyfin::DTO::ImageByNameInfo::format ( ) const

Gets or sets the format.

◆ formatNull()

bool Jellyfin::DTO::ImageByNameInfo::formatNull ( ) const

◆ fromJson()

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

◆ name()

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

Gets or sets the name.

◆ nameNull()

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

◆ replaceData()

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

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

◆ setContext()

void Jellyfin::DTO::ImageByNameInfo::setContext ( QString newContext)

Gets or sets the context.

◆ setContextNull()

void Jellyfin::DTO::ImageByNameInfo::setContextNull ( )

◆ setFileLength()

void Jellyfin::DTO::ImageByNameInfo::setFileLength ( qint64 newFileLength)

Gets or sets the length of the file.

◆ setFormat()

void Jellyfin::DTO::ImageByNameInfo::setFormat ( QString newFormat)

Gets or sets the format.

◆ setFormatNull()

void Jellyfin::DTO::ImageByNameInfo::setFormatNull ( )

◆ setFromJson()

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

◆ setName()

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

Gets or sets the name.

◆ setNameNull()

void Jellyfin::DTO::ImageByNameInfo::setNameNull ( )

◆ setTheme()

void Jellyfin::DTO::ImageByNameInfo::setTheme ( QString newTheme)

Gets or sets the theme.

◆ setThemeNull()

void Jellyfin::DTO::ImageByNameInfo::setThemeNull ( )

◆ theme()

QString Jellyfin::DTO::ImageByNameInfo::theme ( ) const

Gets or sets the theme.

◆ themeNull()

bool Jellyfin::DTO::ImageByNameInfo::themeNull ( ) const

◆ toJson()

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

Member Data Documentation

◆ m_context

QString Jellyfin::DTO::ImageByNameInfo::m_context
protected

◆ m_fileLength

qint64 Jellyfin::DTO::ImageByNameInfo::m_fileLength
protected

◆ m_format

QString Jellyfin::DTO::ImageByNameInfo::m_format
protected

◆ m_name

QString Jellyfin::DTO::ImageByNameInfo::m_name
protected

◆ m_theme

QString Jellyfin::DTO::ImageByNameInfo::m_theme
protected

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