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

#include <playrequestdto.h>

Public Member Functions

 PlayRequestDto (qint32 playingItemPosition, qint64 startPositionTicks)
 
 PlayRequestDto (const PlayRequestDto &other)
 
void replaceData (PlayRequestDto &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QStringList playingQueue () const
 Gets or sets the playing queue.
 
void setPlayingQueue (QStringList newPlayingQueue)
 Gets or sets the playing queue.
 
bool playingQueueNull () const
 
void setPlayingQueueNull ()
 
qint32 playingItemPosition () const
 Gets or sets the position of the playing item in the queue.
 
void setPlayingItemPosition (qint32 newPlayingItemPosition)
 Gets or sets the position of the playing item in the queue.
 
qint64 startPositionTicks () const
 Gets or sets the start position ticks.
 
void setStartPositionTicks (qint64 newStartPositionTicks)
 Gets or sets the start position ticks.
 

Static Public Member Functions

static PlayRequestDto fromJson (QJsonObject source)
 

Protected Attributes

QStringList m_playingQueue
 
qint32 m_playingItemPosition
 
qint64 m_startPositionTicks
 

Constructor & Destructor Documentation

◆ PlayRequestDto() [1/2]

Jellyfin::DTO::PlayRequestDto::PlayRequestDto ( qint32 playingItemPosition,
qint64 startPositionTicks )

◆ PlayRequestDto() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ playingItemPosition()

qint32 Jellyfin::DTO::PlayRequestDto::playingItemPosition ( ) const

Gets or sets the position of the playing item in the queue.

◆ playingQueue()

QStringList Jellyfin::DTO::PlayRequestDto::playingQueue ( ) const

Gets or sets the playing queue.

◆ playingQueueNull()

bool Jellyfin::DTO::PlayRequestDto::playingQueueNull ( ) const

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setPlayingItemPosition()

void Jellyfin::DTO::PlayRequestDto::setPlayingItemPosition ( qint32 newPlayingItemPosition)

Gets or sets the position of the playing item in the queue.

◆ setPlayingQueue()

void Jellyfin::DTO::PlayRequestDto::setPlayingQueue ( QStringList newPlayingQueue)

Gets or sets the playing queue.

◆ setPlayingQueueNull()

void Jellyfin::DTO::PlayRequestDto::setPlayingQueueNull ( )

◆ setStartPositionTicks()

void Jellyfin::DTO::PlayRequestDto::setStartPositionTicks ( qint64 newStartPositionTicks)

Gets or sets the start position ticks.

◆ startPositionTicks()

qint64 Jellyfin::DTO::PlayRequestDto::startPositionTicks ( ) const

Gets or sets the start position ticks.

◆ toJson()

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

Member Data Documentation

◆ m_playingItemPosition

qint32 Jellyfin::DTO::PlayRequestDto::m_playingItemPosition
protected

◆ m_playingQueue

QStringList Jellyfin::DTO::PlayRequestDto::m_playingQueue
protected

◆ m_startPositionTicks

qint64 Jellyfin::DTO::PlayRequestDto::m_startPositionTicks
protected

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