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

#include <queueitem.h>

Public Member Functions

 QueueItem (QString jellyfinId)
 
 QueueItem (const QueueItem &other)
 
void replaceData (QueueItem &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString jellyfinId () const
 
void setJellyfinId (QString newJellyfinId)
 
QString playlistItemId () const
 
void setPlaylistItemId (QString newPlaylistItemId)
 
bool playlistItemIdNull () const
 
void setPlaylistItemIdNull ()
 

Static Public Member Functions

static QueueItem fromJson (QJsonObject source)
 

Protected Attributes

QString m_jellyfinId
 
QString m_playlistItemId
 

Constructor & Destructor Documentation

◆ QueueItem() [1/2]

Jellyfin::DTO::QueueItem::QueueItem ( QString jellyfinId)

◆ QueueItem() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ jellyfinId()

QString Jellyfin::DTO::QueueItem::jellyfinId ( ) const

◆ playlistItemId()

QString Jellyfin::DTO::QueueItem::playlistItemId ( ) const

◆ playlistItemIdNull()

bool Jellyfin::DTO::QueueItem::playlistItemIdNull ( ) const

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setJellyfinId()

void Jellyfin::DTO::QueueItem::setJellyfinId ( QString newJellyfinId)

◆ setPlaylistItemId()

void Jellyfin::DTO::QueueItem::setPlaylistItemId ( QString newPlaylistItemId)

◆ setPlaylistItemIdNull()

void Jellyfin::DTO::QueueItem::setPlaylistItemIdNull ( )

◆ toJson()

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

Member Data Documentation

◆ m_jellyfinId

QString Jellyfin::DTO::QueueItem::m_jellyfinId
protected

◆ m_playlistItemId

QString Jellyfin::DTO::QueueItem::m_playlistItemId
protected

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