![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <playlistuserpermissions.h>
Public Member Functions | |
| PlaylistUserPermissions (QString userId, bool canEdit) | |
| PlaylistUserPermissions (const PlaylistUserPermissions &other) | |
| void | replaceData (PlaylistUserPermissions &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| QString | userId () const |
| Gets or sets the user id. | |
| void | setUserId (QString newUserId) |
| Gets or sets the user id. | |
| bool | canEdit () const |
| Gets or sets a value indicating whether the user has edit permissions. | |
| void | setCanEdit (bool newCanEdit) |
| Gets or sets a value indicating whether the user has edit permissions. | |
Static Public Member Functions | |
| static PlaylistUserPermissions | fromJson (QJsonObject source) |
Protected Attributes | |
| QString | m_userId |
| bool | m_canEdit |
| Jellyfin::DTO::PlaylistUserPermissions::PlaylistUserPermissions | ( | QString | userId, |
| bool | canEdit ) |
| Jellyfin::DTO::PlaylistUserPermissions::PlaylistUserPermissions | ( | const PlaylistUserPermissions & | other | ) |
| bool Jellyfin::DTO::PlaylistUserPermissions::canEdit | ( | ) | const |
Gets or sets a value indicating whether the user has edit permissions.
|
static |
| void Jellyfin::DTO::PlaylistUserPermissions::replaceData | ( | PlaylistUserPermissions & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::PlaylistUserPermissions::setCanEdit | ( | bool | newCanEdit | ) |
Gets or sets a value indicating whether the user has edit permissions.
| void Jellyfin::DTO::PlaylistUserPermissions::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::PlaylistUserPermissions::setUserId | ( | QString | newUserId | ) |
Gets or sets the user id.
| QJsonObject Jellyfin::DTO::PlaylistUserPermissions::toJson | ( | ) | const |
| QString Jellyfin::DTO::PlaylistUserPermissions::userId | ( | ) | const |
Gets or sets the user id.
|
protected |
|
protected |