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

#include <updateplaylistdto.h>

Public Member Functions

 UpdatePlaylistDto ()
 UpdatePlaylistDto (const UpdatePlaylistDto &other)
void replaceData (UpdatePlaylistDto &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 of the playlist.
void setIds (QStringList newIds)
 Gets or sets item ids of the playlist.
bool idsNull () const
void setIdsNull ()
QList< PlaylistUserPermissionsusers () const
 Gets or sets the playlist users.
void setUsers (QList< PlaylistUserPermissions > newUsers)
 Gets or sets the playlist users.
bool usersNull () const
void setUsersNull ()
std::optional< bool > isPublic () const
 Gets or sets a value indicating whether the playlist is public.
void setIsPublic (std::optional< bool > newIsPublic)
 Gets or sets a value indicating whether the playlist is public.
bool isPublicNull () const
void setIsPublicNull ()

Static Public Member Functions

static UpdatePlaylistDto fromJson (QJsonObject source)

Protected Attributes

QString m_name
QStringList m_ids
QList< PlaylistUserPermissionsm_users
std::optional< bool > m_isPublic = std::nullopt

Constructor & Destructor Documentation

◆ UpdatePlaylistDto() [1/2]

Jellyfin::DTO::UpdatePlaylistDto::UpdatePlaylistDto ( )

◆ UpdatePlaylistDto() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ ids()

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

Gets or sets item ids of the playlist.

◆ idsNull()

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

◆ isPublic()

std::optional< bool > Jellyfin::DTO::UpdatePlaylistDto::isPublic ( ) const

Gets or sets a value indicating whether the playlist is public.

◆ isPublicNull()

bool Jellyfin::DTO::UpdatePlaylistDto::isPublicNull ( ) const

◆ name()

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

Gets or sets the name of the new playlist.

◆ nameNull()

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

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setIds()

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

Gets or sets item ids of the playlist.

◆ setIdsNull()

void Jellyfin::DTO::UpdatePlaylistDto::setIdsNull ( )

◆ setIsPublic()

void Jellyfin::DTO::UpdatePlaylistDto::setIsPublic ( std::optional< bool > newIsPublic)

Gets or sets a value indicating whether the playlist is public.

◆ setIsPublicNull()

void Jellyfin::DTO::UpdatePlaylistDto::setIsPublicNull ( )

◆ setName()

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

Gets or sets the name of the new playlist.

◆ setNameNull()

void Jellyfin::DTO::UpdatePlaylistDto::setNameNull ( )

◆ setUsers()

void Jellyfin::DTO::UpdatePlaylistDto::setUsers ( QList< PlaylistUserPermissions > newUsers)

Gets or sets the playlist users.

◆ setUsersNull()

void Jellyfin::DTO::UpdatePlaylistDto::setUsersNull ( )

◆ toJson()

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

◆ users()

QList< PlaylistUserPermissions > Jellyfin::DTO::UpdatePlaylistDto::users ( ) const

Gets or sets the playlist users.

◆ usersNull()

bool Jellyfin::DTO::UpdatePlaylistDto::usersNull ( ) const

Member Data Documentation

◆ m_ids

QStringList Jellyfin::DTO::UpdatePlaylistDto::m_ids
protected

◆ m_isPublic

std::optional<bool> Jellyfin::DTO::UpdatePlaylistDto::m_isPublic = std::nullopt
protected

◆ m_name

QString Jellyfin::DTO::UpdatePlaylistDto::m_name
protected

◆ m_users

QList<PlaylistUserPermissions> Jellyfin::DTO::UpdatePlaylistDto::m_users
protected

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