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

#include <moveplaylistitemrequestdto.h>

Public Member Functions

 MovePlaylistItemRequestDto (QString playlistItemId, qint32 newIndex)
 
 MovePlaylistItemRequestDto (const MovePlaylistItemRequestDto &other)
 
void replaceData (MovePlaylistItemRequestDto &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString playlistItemId () const
 Gets or sets the playlist identifier of the item.
 
void setPlaylistItemId (QString newPlaylistItemId)
 Gets or sets the playlist identifier of the item.
 
qint32 newIndex () const
 Gets or sets the new position.
 
void setNewIndex (qint32 newNewIndex)
 Gets or sets the new position.
 

Static Public Member Functions

static MovePlaylistItemRequestDto fromJson (QJsonObject source)
 

Protected Attributes

QString m_playlistItemId
 
qint32 m_newIndex
 

Constructor & Destructor Documentation

◆ MovePlaylistItemRequestDto() [1/2]

Jellyfin::DTO::MovePlaylistItemRequestDto::MovePlaylistItemRequestDto ( QString playlistItemId,
qint32 newIndex )

◆ MovePlaylistItemRequestDto() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ newIndex()

qint32 Jellyfin::DTO::MovePlaylistItemRequestDto::newIndex ( ) const

Gets or sets the new position.

◆ playlistItemId()

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

Gets or sets the playlist identifier of the item.

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setNewIndex()

void Jellyfin::DTO::MovePlaylistItemRequestDto::setNewIndex ( qint32 newNewIndex)

Gets or sets the new position.

◆ setPlaylistItemId()

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

Gets or sets the playlist identifier of the item.

◆ toJson()

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

Member Data Documentation

◆ m_newIndex

qint32 Jellyfin::DTO::MovePlaylistItemRequestDto::m_newIndex
protected

◆ m_playlistItemId

QString Jellyfin::DTO::MovePlaylistItemRequestDto::m_playlistItemId
protected

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