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

#include <syncplayqueueitem.h>

Public Member Functions

 SyncPlayQueueItem (QString itemId, QString playlistItemId)
 SyncPlayQueueItem (const SyncPlayQueueItem &other)
void replaceData (SyncPlayQueueItem &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
QString itemId () const
 Gets the item identifier.
void setItemId (QString newItemId)
 Gets the item identifier.
QString playlistItemId () const
 Gets the playlist identifier of the item.
void setPlaylistItemId (QString newPlaylistItemId)
 Gets the playlist identifier of the item.

Static Public Member Functions

static SyncPlayQueueItem fromJson (QJsonObject source)

Protected Attributes

QString m_itemId
QString m_playlistItemId

Constructor & Destructor Documentation

◆ SyncPlayQueueItem() [1/2]

Jellyfin::DTO::SyncPlayQueueItem::SyncPlayQueueItem ( QString itemId,
QString playlistItemId )

◆ SyncPlayQueueItem() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ itemId()

QString Jellyfin::DTO::SyncPlayQueueItem::itemId ( ) const

Gets the item identifier.

◆ playlistItemId()

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

Gets the playlist identifier of the item.

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setItemId()

void Jellyfin::DTO::SyncPlayQueueItem::setItemId ( QString newItemId)

Gets the item identifier.

◆ setPlaylistItemId()

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

Gets the playlist identifier of the item.

◆ toJson()

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

Member Data Documentation

◆ m_itemId

QString Jellyfin::DTO::SyncPlayQueueItem::m_itemId
protected

◆ m_playlistItemId

QString Jellyfin::DTO::SyncPlayQueueItem::m_playlistItemId
protected

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