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

#include <bufferrequestdto.h>

Public Member Functions

 BufferRequestDto (QDateTime when, qint64 positionTicks, bool isPlaying, QString playlistItemId)
 
 BufferRequestDto (const BufferRequestDto &other)
 
void replaceData (BufferRequestDto &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QDateTime when () const
 Gets or sets when the request has been made by the client.
 
void setWhen (QDateTime newWhen)
 Gets or sets when the request has been made by the client.
 
qint64 positionTicks () const
 Gets or sets the position ticks.
 
void setPositionTicks (qint64 newPositionTicks)
 Gets or sets the position ticks.
 
bool isPlaying () const
 Gets or sets a value indicating whether the client playback is unpaused.
 
void setIsPlaying (bool newIsPlaying)
 Gets or sets a value indicating whether the client playback is unpaused.
 
QString playlistItemId () const
 Gets or sets the playlist item identifier of the playing item.
 
void setPlaylistItemId (QString newPlaylistItemId)
 Gets or sets the playlist item identifier of the playing item.
 

Static Public Member Functions

static BufferRequestDto fromJson (QJsonObject source)
 

Protected Attributes

QDateTime m_when
 
qint64 m_positionTicks
 
bool m_isPlaying
 
QString m_playlistItemId
 

Constructor & Destructor Documentation

◆ BufferRequestDto() [1/2]

Jellyfin::DTO::BufferRequestDto::BufferRequestDto ( QDateTime when,
qint64 positionTicks,
bool isPlaying,
QString playlistItemId )

◆ BufferRequestDto() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ isPlaying()

bool Jellyfin::DTO::BufferRequestDto::isPlaying ( ) const

Gets or sets a value indicating whether the client playback is unpaused.

◆ playlistItemId()

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

Gets or sets the playlist item identifier of the playing item.

◆ positionTicks()

qint64 Jellyfin::DTO::BufferRequestDto::positionTicks ( ) const

Gets or sets the position ticks.

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setIsPlaying()

void Jellyfin::DTO::BufferRequestDto::setIsPlaying ( bool newIsPlaying)

Gets or sets a value indicating whether the client playback is unpaused.

◆ setPlaylistItemId()

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

Gets or sets the playlist item identifier of the playing item.

◆ setPositionTicks()

void Jellyfin::DTO::BufferRequestDto::setPositionTicks ( qint64 newPositionTicks)

Gets or sets the position ticks.

◆ setWhen()

void Jellyfin::DTO::BufferRequestDto::setWhen ( QDateTime newWhen)

Gets or sets when the request has been made by the client.

◆ toJson()

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

◆ when()

QDateTime Jellyfin::DTO::BufferRequestDto::when ( ) const

Gets or sets when the request has been made by the client.

Member Data Documentation

◆ m_isPlaying

bool Jellyfin::DTO::BufferRequestDto::m_isPlaying
protected

◆ m_playlistItemId

QString Jellyfin::DTO::BufferRequestDto::m_playlistItemId
protected

◆ m_positionTicks

qint64 Jellyfin::DTO::BufferRequestDto::m_positionTicks
protected

◆ m_when

QDateTime Jellyfin::DTO::BufferRequestDto::m_when
protected

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