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

#include <removefromplaylistrequestdto.h>

Public Member Functions

 RemoveFromPlaylistRequestDto (QStringList playlistItemIds, bool clearPlaylist, bool clearPlayingItem)
 RemoveFromPlaylistRequestDto (const RemoveFromPlaylistRequestDto &other)
void replaceData (RemoveFromPlaylistRequestDto &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
QStringList playlistItemIds () const
 Gets or sets the playlist identifiers of the items. Ignored when clearing the playlist.
void setPlaylistItemIds (QStringList newPlaylistItemIds)
 Gets or sets the playlist identifiers of the items. Ignored when clearing the playlist.
bool clearPlaylist () const
 Gets or sets a value indicating whether the entire playlist should be cleared.
void setClearPlaylist (bool newClearPlaylist)
 Gets or sets a value indicating whether the entire playlist should be cleared.
bool clearPlayingItem () const
 Gets or sets a value indicating whether the playing item should be removed as well. Used only when clearing the playlist.
void setClearPlayingItem (bool newClearPlayingItem)
 Gets or sets a value indicating whether the playing item should be removed as well. Used only when clearing the playlist.

Static Public Member Functions

static RemoveFromPlaylistRequestDto fromJson (QJsonObject source)

Protected Attributes

QStringList m_playlistItemIds
bool m_clearPlaylist
bool m_clearPlayingItem

Constructor & Destructor Documentation

◆ RemoveFromPlaylistRequestDto() [1/2]

Jellyfin::DTO::RemoveFromPlaylistRequestDto::RemoveFromPlaylistRequestDto ( QStringList playlistItemIds,
bool clearPlaylist,
bool clearPlayingItem )

◆ RemoveFromPlaylistRequestDto() [2/2]

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

Member Function Documentation

◆ clearPlayingItem()

bool Jellyfin::DTO::RemoveFromPlaylistRequestDto::clearPlayingItem ( ) const

Gets or sets a value indicating whether the playing item should be removed as well. Used only when clearing the playlist.

◆ clearPlaylist()

bool Jellyfin::DTO::RemoveFromPlaylistRequestDto::clearPlaylist ( ) const

Gets or sets a value indicating whether the entire playlist should be cleared.

◆ fromJson()

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

◆ playlistItemIds()

QStringList Jellyfin::DTO::RemoveFromPlaylistRequestDto::playlistItemIds ( ) const

Gets or sets the playlist identifiers of the items. Ignored when clearing the playlist.

◆ replaceData()

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

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

◆ setClearPlayingItem()

void Jellyfin::DTO::RemoveFromPlaylistRequestDto::setClearPlayingItem ( bool newClearPlayingItem)

Gets or sets a value indicating whether the playing item should be removed as well. Used only when clearing the playlist.

◆ setClearPlaylist()

void Jellyfin::DTO::RemoveFromPlaylistRequestDto::setClearPlaylist ( bool newClearPlaylist)

Gets or sets a value indicating whether the entire playlist should be cleared.

◆ setFromJson()

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

◆ setPlaylistItemIds()

void Jellyfin::DTO::RemoveFromPlaylistRequestDto::setPlaylistItemIds ( QStringList newPlaylistItemIds)

Gets or sets the playlist identifiers of the items. Ignored when clearing the playlist.

◆ toJson()

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

Member Data Documentation

◆ m_clearPlayingItem

bool Jellyfin::DTO::RemoveFromPlaylistRequestDto::m_clearPlayingItem
protected

◆ m_clearPlaylist

bool Jellyfin::DTO::RemoveFromPlaylistRequestDto::m_clearPlaylist
protected

◆ m_playlistItemIds

QStringList Jellyfin::DTO::RemoveFromPlaylistRequestDto::m_playlistItemIds
protected

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