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

#include <queuerequestdto.h>

Public Member Functions

 QueueRequestDto (GroupQueueMode mode)
 
 QueueRequestDto (const QueueRequestDto &other)
 
void replaceData (QueueRequestDto &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QStringList itemIds () const
 Gets or sets the items to enqueue.
 
void setItemIds (QStringList newItemIds)
 Gets or sets the items to enqueue.
 
bool itemIdsNull () const
 
void setItemIdsNull ()
 
GroupQueueMode mode () const
 
void setMode (GroupQueueMode newMode)
 

Static Public Member Functions

static QueueRequestDto fromJson (QJsonObject source)
 

Protected Attributes

QStringList m_itemIds
 
GroupQueueMode m_mode
 

Constructor & Destructor Documentation

◆ QueueRequestDto() [1/2]

Jellyfin::DTO::QueueRequestDto::QueueRequestDto ( GroupQueueMode mode)

◆ QueueRequestDto() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ itemIds()

QStringList Jellyfin::DTO::QueueRequestDto::itemIds ( ) const

Gets or sets the items to enqueue.

◆ itemIdsNull()

bool Jellyfin::DTO::QueueRequestDto::itemIdsNull ( ) const

◆ mode()

GroupQueueMode Jellyfin::DTO::QueueRequestDto::mode ( ) const

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setItemIds()

void Jellyfin::DTO::QueueRequestDto::setItemIds ( QStringList newItemIds)

Gets or sets the items to enqueue.

◆ setItemIdsNull()

void Jellyfin::DTO::QueueRequestDto::setItemIdsNull ( )

◆ setMode()

void Jellyfin::DTO::QueueRequestDto::setMode ( GroupQueueMode newMode)

◆ toJson()

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

Member Data Documentation

◆ m_itemIds

QStringList Jellyfin::DTO::QueueRequestDto::m_itemIds
protected

◆ m_mode

GroupQueueMode Jellyfin::DTO::QueueRequestDto::m_mode
protected

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