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

#include <updateplaylistuserdto.h>

Public Member Functions

 UpdatePlaylistUserDto ()
 UpdatePlaylistUserDto (const UpdatePlaylistUserDto &other)
void replaceData (UpdatePlaylistUserDto &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
std::optional< bool > canEdit () const
 Gets or sets a value indicating whether the user can edit the playlist.
void setCanEdit (std::optional< bool > newCanEdit)
 Gets or sets a value indicating whether the user can edit the playlist.
bool canEditNull () const
void setCanEditNull ()

Static Public Member Functions

static UpdatePlaylistUserDto fromJson (QJsonObject source)

Protected Attributes

std::optional< bool > m_canEdit = std::nullopt

Constructor & Destructor Documentation

◆ UpdatePlaylistUserDto() [1/2]

Jellyfin::DTO::UpdatePlaylistUserDto::UpdatePlaylistUserDto ( )

◆ UpdatePlaylistUserDto() [2/2]

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

Member Function Documentation

◆ canEdit()

std::optional< bool > Jellyfin::DTO::UpdatePlaylistUserDto::canEdit ( ) const

Gets or sets a value indicating whether the user can edit the playlist.

◆ canEditNull()

bool Jellyfin::DTO::UpdatePlaylistUserDto::canEditNull ( ) const

◆ fromJson()

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

◆ replaceData()

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

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

◆ setCanEdit()

void Jellyfin::DTO::UpdatePlaylistUserDto::setCanEdit ( std::optional< bool > newCanEdit)

Gets or sets a value indicating whether the user can edit the playlist.

◆ setCanEditNull()

void Jellyfin::DTO::UpdatePlaylistUserDto::setCanEditNull ( )

◆ setFromJson()

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

◆ toJson()

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

Member Data Documentation

◆ m_canEdit

std::optional<bool> Jellyfin::DTO::UpdatePlaylistUserDto::m_canEdit = std::nullopt
protected

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