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

#include <createplaylistdto.h>

Public Member Functions

 CreatePlaylistDto ()
 
 CreatePlaylistDto (const CreatePlaylistDto &other)
 
void replaceData (CreatePlaylistDto &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString name () const
 Gets or sets the name of the new playlist.
 
void setName (QString newName)
 Gets or sets the name of the new playlist.
 
bool nameNull () const
 
void setNameNull ()
 
QStringList ids () const
 Gets or sets item ids to add to the playlist.
 
void setIds (QStringList newIds)
 Gets or sets item ids to add to the playlist.
 
bool idsNull () const
 
void setIdsNull ()
 
QString userId () const
 Gets or sets the user id.
 
void setUserId (QString newUserId)
 Gets or sets the user id.
 
bool userIdNull () const
 
void setUserIdNull ()
 
QString mediaType () const
 Gets or sets the media type.
 
void setMediaType (QString newMediaType)
 Gets or sets the media type.
 
bool mediaTypeNull () const
 
void setMediaTypeNull ()
 

Static Public Member Functions

static CreatePlaylistDto fromJson (QJsonObject source)
 

Protected Attributes

QString m_name
 
QStringList m_ids
 
QString m_userId
 
QString m_mediaType
 

Constructor & Destructor Documentation

◆ CreatePlaylistDto() [1/2]

Jellyfin::DTO::CreatePlaylistDto::CreatePlaylistDto ( )

◆ CreatePlaylistDto() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ ids()

QStringList Jellyfin::DTO::CreatePlaylistDto::ids ( ) const

Gets or sets item ids to add to the playlist.

◆ idsNull()

bool Jellyfin::DTO::CreatePlaylistDto::idsNull ( ) const

◆ mediaType()

QString Jellyfin::DTO::CreatePlaylistDto::mediaType ( ) const

Gets or sets the media type.

◆ mediaTypeNull()

bool Jellyfin::DTO::CreatePlaylistDto::mediaTypeNull ( ) const

◆ name()

QString Jellyfin::DTO::CreatePlaylistDto::name ( ) const

Gets or sets the name of the new playlist.

◆ nameNull()

bool Jellyfin::DTO::CreatePlaylistDto::nameNull ( ) const

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setIds()

void Jellyfin::DTO::CreatePlaylistDto::setIds ( QStringList newIds)

Gets or sets item ids to add to the playlist.

◆ setIdsNull()

void Jellyfin::DTO::CreatePlaylistDto::setIdsNull ( )

◆ setMediaType()

void Jellyfin::DTO::CreatePlaylistDto::setMediaType ( QString newMediaType)

Gets or sets the media type.

◆ setMediaTypeNull()

void Jellyfin::DTO::CreatePlaylistDto::setMediaTypeNull ( )

◆ setName()

void Jellyfin::DTO::CreatePlaylistDto::setName ( QString newName)

Gets or sets the name of the new playlist.

◆ setNameNull()

void Jellyfin::DTO::CreatePlaylistDto::setNameNull ( )

◆ setUserId()

void Jellyfin::DTO::CreatePlaylistDto::setUserId ( QString newUserId)

Gets or sets the user id.

◆ setUserIdNull()

void Jellyfin::DTO::CreatePlaylistDto::setUserIdNull ( )

◆ toJson()

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

◆ userId()

QString Jellyfin::DTO::CreatePlaylistDto::userId ( ) const

Gets or sets the user id.

◆ userIdNull()

bool Jellyfin::DTO::CreatePlaylistDto::userIdNull ( ) const

Member Data Documentation

◆ m_ids

QStringList Jellyfin::DTO::CreatePlaylistDto::m_ids
protected

◆ m_mediaType

QString Jellyfin::DTO::CreatePlaylistDto::m_mediaType
protected

◆ m_name

QString Jellyfin::DTO::CreatePlaylistDto::m_name
protected

◆ m_userId

QString Jellyfin::DTO::CreatePlaylistDto::m_userId
protected

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