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

#include <playbackinforesponse.h>

Public Member Functions

 PlaybackInfoResponse (PlaybackErrorCode errorCode)
 
 PlaybackInfoResponse (const PlaybackInfoResponse &other)
 
void replaceData (PlaybackInfoResponse &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QList< MediaSourceInfomediaSources () const
 Gets or sets the media sources.
 
void setMediaSources (QList< MediaSourceInfo > newMediaSources)
 Gets or sets the media sources.
 
bool mediaSourcesNull () const
 
void setMediaSourcesNull ()
 
QString playSessionId () const
 Gets or sets the play session identifier.
 
void setPlaySessionId (QString newPlaySessionId)
 Gets or sets the play session identifier.
 
bool playSessionIdNull () const
 
void setPlaySessionIdNull ()
 
PlaybackErrorCode errorCode () const
 
void setErrorCode (PlaybackErrorCode newErrorCode)
 

Static Public Member Functions

static PlaybackInfoResponse fromJson (QJsonObject source)
 

Protected Attributes

QList< MediaSourceInfom_mediaSources
 
QString m_playSessionId
 
PlaybackErrorCode m_errorCode
 

Constructor & Destructor Documentation

◆ PlaybackInfoResponse() [1/2]

Jellyfin::DTO::PlaybackInfoResponse::PlaybackInfoResponse ( PlaybackErrorCode errorCode)

◆ PlaybackInfoResponse() [2/2]

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

Member Function Documentation

◆ errorCode()

PlaybackErrorCode Jellyfin::DTO::PlaybackInfoResponse::errorCode ( ) const

◆ fromJson()

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

◆ mediaSources()

QList< MediaSourceInfo > Jellyfin::DTO::PlaybackInfoResponse::mediaSources ( ) const

Gets or sets the media sources.

◆ mediaSourcesNull()

bool Jellyfin::DTO::PlaybackInfoResponse::mediaSourcesNull ( ) const

◆ playSessionId()

QString Jellyfin::DTO::PlaybackInfoResponse::playSessionId ( ) const

Gets or sets the play session identifier.

◆ playSessionIdNull()

bool Jellyfin::DTO::PlaybackInfoResponse::playSessionIdNull ( ) const

◆ replaceData()

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

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

◆ setErrorCode()

void Jellyfin::DTO::PlaybackInfoResponse::setErrorCode ( PlaybackErrorCode newErrorCode)

◆ setFromJson()

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

◆ setMediaSources()

void Jellyfin::DTO::PlaybackInfoResponse::setMediaSources ( QList< MediaSourceInfo > newMediaSources)

Gets or sets the media sources.

◆ setMediaSourcesNull()

void Jellyfin::DTO::PlaybackInfoResponse::setMediaSourcesNull ( )

◆ setPlaySessionId()

void Jellyfin::DTO::PlaybackInfoResponse::setPlaySessionId ( QString newPlaySessionId)

Gets or sets the play session identifier.

◆ setPlaySessionIdNull()

void Jellyfin::DTO::PlaybackInfoResponse::setPlaySessionIdNull ( )

◆ toJson()

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

Member Data Documentation

◆ m_errorCode

PlaybackErrorCode Jellyfin::DTO::PlaybackInfoResponse::m_errorCode
protected

◆ m_mediaSources

QList<MediaSourceInfo> Jellyfin::DTO::PlaybackInfoResponse::m_mediaSources
protected

◆ m_playSessionId

QString Jellyfin::DTO::PlaybackInfoResponse::m_playSessionId
protected

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