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

#include <thememediaresult.h>

Public Member Functions

 ThemeMediaResult (QList< BaseItemDto > items, qint32 totalRecordCount, qint32 startIndex, QString ownerId)
 ThemeMediaResult (const ThemeMediaResult &other)
void replaceData (ThemeMediaResult &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
QList< BaseItemDtoitems () const
 Gets or sets the items.
void setItems (QList< BaseItemDto > newItems)
 Gets or sets the items.
qint32 totalRecordCount () const
 Gets or sets the total number of records available.
void setTotalRecordCount (qint32 newTotalRecordCount)
 Gets or sets the total number of records available.
qint32 startIndex () const
 Gets or sets the index of the first record in Items.
void setStartIndex (qint32 newStartIndex)
 Gets or sets the index of the first record in Items.
QString ownerId () const
 Gets or sets the owner id.
void setOwnerId (QString newOwnerId)
 Gets or sets the owner id.

Static Public Member Functions

static ThemeMediaResult fromJson (QJsonObject source)

Protected Attributes

QList< BaseItemDtom_items
qint32 m_totalRecordCount
qint32 m_startIndex
QString m_ownerId

Constructor & Destructor Documentation

◆ ThemeMediaResult() [1/2]

Jellyfin::DTO::ThemeMediaResult::ThemeMediaResult ( QList< BaseItemDto > items,
qint32 totalRecordCount,
qint32 startIndex,
QString ownerId )

◆ ThemeMediaResult() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ items()

QList< BaseItemDto > Jellyfin::DTO::ThemeMediaResult::items ( ) const

Gets or sets the items.

◆ ownerId()

QString Jellyfin::DTO::ThemeMediaResult::ownerId ( ) const

Gets or sets the owner id.

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setItems()

void Jellyfin::DTO::ThemeMediaResult::setItems ( QList< BaseItemDto > newItems)

Gets or sets the items.

◆ setOwnerId()

void Jellyfin::DTO::ThemeMediaResult::setOwnerId ( QString newOwnerId)

Gets or sets the owner id.

◆ setStartIndex()

void Jellyfin::DTO::ThemeMediaResult::setStartIndex ( qint32 newStartIndex)

Gets or sets the index of the first record in Items.

◆ setTotalRecordCount()

void Jellyfin::DTO::ThemeMediaResult::setTotalRecordCount ( qint32 newTotalRecordCount)

Gets or sets the total number of records available.

◆ startIndex()

qint32 Jellyfin::DTO::ThemeMediaResult::startIndex ( ) const

Gets or sets the index of the first record in Items.

◆ toJson()

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

◆ totalRecordCount()

qint32 Jellyfin::DTO::ThemeMediaResult::totalRecordCount ( ) const

Gets or sets the total number of records available.

Member Data Documentation

◆ m_items

QList<BaseItemDto> Jellyfin::DTO::ThemeMediaResult::m_items
protected

◆ m_ownerId

QString Jellyfin::DTO::ThemeMediaResult::m_ownerId
protected

◆ m_startIndex

qint32 Jellyfin::DTO::ThemeMediaResult::m_startIndex
protected

◆ m_totalRecordCount

qint32 Jellyfin::DTO::ThemeMediaResult::m_totalRecordCount
protected

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