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

#include <playbackstopinfo.h>

Public Member Functions

 PlaybackStopInfo (QSharedPointer< BaseItemDto > item, QString itemId, bool failed)
 
 PlaybackStopInfo (const PlaybackStopInfo &other)
 
void replaceData (PlaybackStopInfo &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QSharedPointer< BaseItemDtoitem () const
 
void setItem (QSharedPointer< BaseItemDto > newItem)
 
QString itemId () const
 Gets or sets the item identifier.
 
void setItemId (QString newItemId)
 Gets or sets the item identifier.
 
QString sessionId () const
 Gets or sets the session id.
 
void setSessionId (QString newSessionId)
 Gets or sets the session id.
 
bool sessionIdNull () const
 
void setSessionIdNull ()
 
QString mediaSourceId () const
 Gets or sets the media version identifier.
 
void setMediaSourceId (QString newMediaSourceId)
 Gets or sets the media version identifier.
 
bool mediaSourceIdNull () const
 
void setMediaSourceIdNull ()
 
std::optional< qint64 > positionTicks () const
 Gets or sets the position ticks.
 
void setPositionTicks (std::optional< qint64 > newPositionTicks)
 Gets or sets the position ticks.
 
bool positionTicksNull () const
 
void setPositionTicksNull ()
 
QString liveStreamId () const
 Gets or sets the live stream identifier.
 
void setLiveStreamId (QString newLiveStreamId)
 Gets or sets the live stream identifier.
 
bool liveStreamIdNull () const
 
void setLiveStreamIdNull ()
 
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 ()
 
bool failed () const
 Gets or sets a value indicating whether this MediaBrowser.Model.Session.PlaybackStopInfo is failed.
 
void setFailed (bool newFailed)
 Gets or sets a value indicating whether this MediaBrowser.Model.Session.PlaybackStopInfo is failed.
 
QString nextMediaType () const
 
void setNextMediaType (QString newNextMediaType)
 
bool nextMediaTypeNull () const
 
void setNextMediaTypeNull ()
 
QString playlistItemId () const
 
void setPlaylistItemId (QString newPlaylistItemId)
 
bool playlistItemIdNull () const
 
void setPlaylistItemIdNull ()
 
QList< QueueItemnowPlayingQueue () const
 
void setNowPlayingQueue (QList< QueueItem > newNowPlayingQueue)
 
bool nowPlayingQueueNull () const
 
void setNowPlayingQueueNull ()
 

Static Public Member Functions

static PlaybackStopInfo fromJson (QJsonObject source)
 

Protected Attributes

QSharedPointer< BaseItemDtom_item = QSharedPointer<BaseItemDto>()
 
QString m_itemId
 
QString m_sessionId
 
QString m_mediaSourceId
 
std::optional< qint64 > m_positionTicks = std::nullopt
 
QString m_liveStreamId
 
QString m_playSessionId
 
bool m_failed
 
QString m_nextMediaType
 
QString m_playlistItemId
 
QList< QueueItemm_nowPlayingQueue
 

Constructor & Destructor Documentation

◆ PlaybackStopInfo() [1/2]

Jellyfin::DTO::PlaybackStopInfo::PlaybackStopInfo ( QSharedPointer< BaseItemDto > item,
QString itemId,
bool failed )

◆ PlaybackStopInfo() [2/2]

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

Member Function Documentation

◆ failed()

bool Jellyfin::DTO::PlaybackStopInfo::failed ( ) const

Gets or sets a value indicating whether this MediaBrowser.Model.Session.PlaybackStopInfo is failed.

◆ fromJson()

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

◆ item()

QSharedPointer< BaseItemDto > Jellyfin::DTO::PlaybackStopInfo::item ( ) const

◆ itemId()

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

Gets or sets the item identifier.

◆ liveStreamId()

QString Jellyfin::DTO::PlaybackStopInfo::liveStreamId ( ) const

Gets or sets the live stream identifier.

◆ liveStreamIdNull()

bool Jellyfin::DTO::PlaybackStopInfo::liveStreamIdNull ( ) const

◆ mediaSourceId()

QString Jellyfin::DTO::PlaybackStopInfo::mediaSourceId ( ) const

Gets or sets the media version identifier.

◆ mediaSourceIdNull()

bool Jellyfin::DTO::PlaybackStopInfo::mediaSourceIdNull ( ) const

◆ nextMediaType()

QString Jellyfin::DTO::PlaybackStopInfo::nextMediaType ( ) const

◆ nextMediaTypeNull()

bool Jellyfin::DTO::PlaybackStopInfo::nextMediaTypeNull ( ) const

◆ nowPlayingQueue()

QList< QueueItem > Jellyfin::DTO::PlaybackStopInfo::nowPlayingQueue ( ) const

◆ nowPlayingQueueNull()

bool Jellyfin::DTO::PlaybackStopInfo::nowPlayingQueueNull ( ) const

◆ playlistItemId()

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

◆ playlistItemIdNull()

bool Jellyfin::DTO::PlaybackStopInfo::playlistItemIdNull ( ) const

◆ playSessionId()

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

Gets or sets the play session identifier.

◆ playSessionIdNull()

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

◆ positionTicks()

std::optional< qint64 > Jellyfin::DTO::PlaybackStopInfo::positionTicks ( ) const

Gets or sets the position ticks.

◆ positionTicksNull()

bool Jellyfin::DTO::PlaybackStopInfo::positionTicksNull ( ) const

◆ replaceData()

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

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

◆ sessionId()

QString Jellyfin::DTO::PlaybackStopInfo::sessionId ( ) const

Gets or sets the session id.

◆ sessionIdNull()

bool Jellyfin::DTO::PlaybackStopInfo::sessionIdNull ( ) const

◆ setFailed()

void Jellyfin::DTO::PlaybackStopInfo::setFailed ( bool newFailed)

Gets or sets a value indicating whether this MediaBrowser.Model.Session.PlaybackStopInfo is failed.

◆ setFromJson()

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

◆ setItem()

void Jellyfin::DTO::PlaybackStopInfo::setItem ( QSharedPointer< BaseItemDto > newItem)

◆ setItemId()

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

Gets or sets the item identifier.

◆ setLiveStreamId()

void Jellyfin::DTO::PlaybackStopInfo::setLiveStreamId ( QString newLiveStreamId)

Gets or sets the live stream identifier.

◆ setLiveStreamIdNull()

void Jellyfin::DTO::PlaybackStopInfo::setLiveStreamIdNull ( )

◆ setMediaSourceId()

void Jellyfin::DTO::PlaybackStopInfo::setMediaSourceId ( QString newMediaSourceId)

Gets or sets the media version identifier.

◆ setMediaSourceIdNull()

void Jellyfin::DTO::PlaybackStopInfo::setMediaSourceIdNull ( )

◆ setNextMediaType()

void Jellyfin::DTO::PlaybackStopInfo::setNextMediaType ( QString newNextMediaType)

◆ setNextMediaTypeNull()

void Jellyfin::DTO::PlaybackStopInfo::setNextMediaTypeNull ( )

◆ setNowPlayingQueue()

void Jellyfin::DTO::PlaybackStopInfo::setNowPlayingQueue ( QList< QueueItem > newNowPlayingQueue)

◆ setNowPlayingQueueNull()

void Jellyfin::DTO::PlaybackStopInfo::setNowPlayingQueueNull ( )

◆ setPlaylistItemId()

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

◆ setPlaylistItemIdNull()

void Jellyfin::DTO::PlaybackStopInfo::setPlaylistItemIdNull ( )

◆ setPlaySessionId()

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

Gets or sets the play session identifier.

◆ setPlaySessionIdNull()

void Jellyfin::DTO::PlaybackStopInfo::setPlaySessionIdNull ( )

◆ setPositionTicks()

void Jellyfin::DTO::PlaybackStopInfo::setPositionTicks ( std::optional< qint64 > newPositionTicks)

Gets or sets the position ticks.

◆ setPositionTicksNull()

void Jellyfin::DTO::PlaybackStopInfo::setPositionTicksNull ( )

◆ setSessionId()

void Jellyfin::DTO::PlaybackStopInfo::setSessionId ( QString newSessionId)

Gets or sets the session id.

◆ setSessionIdNull()

void Jellyfin::DTO::PlaybackStopInfo::setSessionIdNull ( )

◆ toJson()

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

Member Data Documentation

◆ m_failed

bool Jellyfin::DTO::PlaybackStopInfo::m_failed
protected

◆ m_item

QSharedPointer<BaseItemDto> Jellyfin::DTO::PlaybackStopInfo::m_item = QSharedPointer<BaseItemDto>()
protected

◆ m_itemId

QString Jellyfin::DTO::PlaybackStopInfo::m_itemId
protected

◆ m_liveStreamId

QString Jellyfin::DTO::PlaybackStopInfo::m_liveStreamId
protected

◆ m_mediaSourceId

QString Jellyfin::DTO::PlaybackStopInfo::m_mediaSourceId
protected

◆ m_nextMediaType

QString Jellyfin::DTO::PlaybackStopInfo::m_nextMediaType
protected

◆ m_nowPlayingQueue

QList<QueueItem> Jellyfin::DTO::PlaybackStopInfo::m_nowPlayingQueue
protected

◆ m_playlistItemId

QString Jellyfin::DTO::PlaybackStopInfo::m_playlistItemId
protected

◆ m_playSessionId

QString Jellyfin::DTO::PlaybackStopInfo::m_playSessionId
protected

◆ m_positionTicks

std::optional<qint64> Jellyfin::DTO::PlaybackStopInfo::m_positionTicks = std::nullopt
protected

◆ m_sessionId

QString Jellyfin::DTO::PlaybackStopInfo::m_sessionId
protected

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