![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <playlistdto.h>
Public Member Functions | |
| PlaylistDto (bool openAccess, QList< PlaylistUserPermissions > shares, QStringList itemIds) | |
| PlaylistDto (const PlaylistDto &other) | |
| void | replaceData (PlaylistDto &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| bool | openAccess () const |
| Gets or sets a value indicating whether the playlist is publicly readable. | |
| void | setOpenAccess (bool newOpenAccess) |
| Gets or sets a value indicating whether the playlist is publicly readable. | |
| QList< PlaylistUserPermissions > | shares () const |
| Gets or sets the share permissions. | |
| void | setShares (QList< PlaylistUserPermissions > newShares) |
| Gets or sets the share permissions. | |
| QStringList | itemIds () const |
| Gets or sets the item ids. | |
| void | setItemIds (QStringList newItemIds) |
| Gets or sets the item ids. | |
Static Public Member Functions | |
| static PlaylistDto | fromJson (QJsonObject source) |
Protected Attributes | |
| bool | m_openAccess |
| QList< PlaylistUserPermissions > | m_shares |
| QStringList | m_itemIds |
| Jellyfin::DTO::PlaylistDto::PlaylistDto | ( | bool | openAccess, |
| QList< PlaylistUserPermissions > | shares, | ||
| QStringList | itemIds ) |
| Jellyfin::DTO::PlaylistDto::PlaylistDto | ( | const PlaylistDto & | other | ) |
|
static |
| QStringList Jellyfin::DTO::PlaylistDto::itemIds | ( | ) | const |
Gets or sets the item ids.
| bool Jellyfin::DTO::PlaylistDto::openAccess | ( | ) | const |
Gets or sets a value indicating whether the playlist is publicly readable.
| void Jellyfin::DTO::PlaylistDto::replaceData | ( | PlaylistDto & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::PlaylistDto::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::PlaylistDto::setItemIds | ( | QStringList | newItemIds | ) |
Gets or sets the item ids.
| void Jellyfin::DTO::PlaylistDto::setOpenAccess | ( | bool | newOpenAccess | ) |
Gets or sets a value indicating whether the playlist is publicly readable.
| void Jellyfin::DTO::PlaylistDto::setShares | ( | QList< PlaylistUserPermissions > | newShares | ) |
Gets or sets the share permissions.
| QList< PlaylistUserPermissions > Jellyfin::DTO::PlaylistDto::shares | ( | ) | const |
Gets or sets the share permissions.
| QJsonObject Jellyfin::DTO::PlaylistDto::toJson | ( | ) | const |
|
protected |
|
protected |
|
protected |