![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <createplaylistdto.h>
Public Member Functions | |
| CreatePlaylistDto (QString name, QStringList ids, MediaType mediaType, QList< PlaylistUserPermissions > users, bool isPublic) | |
| 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. | |
| 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. | |
| QString | userId () const |
| Gets or sets the user id. | |
| void | setUserId (QString newUserId) |
| Gets or sets the user id. | |
| bool | userIdNull () const |
| void | setUserIdNull () |
| MediaType | mediaType () const |
| void | setMediaType (MediaType newMediaType) |
| QList< PlaylistUserPermissions > | users () const |
| Gets or sets the playlist users. | |
| void | setUsers (QList< PlaylistUserPermissions > newUsers) |
| Gets or sets the playlist users. | |
| bool | isPublic () const |
| Gets or sets a value indicating whether the playlist is public. | |
| void | setIsPublic (bool newIsPublic) |
| Gets or sets a value indicating whether the playlist is public. | |
Static Public Member Functions | |
| static CreatePlaylistDto | fromJson (QJsonObject source) |
Protected Attributes | |
| QString | m_name |
| QStringList | m_ids |
| QString | m_userId |
| MediaType | m_mediaType |
| QList< PlaylistUserPermissions > | m_users |
| bool | m_isPublic |
| Jellyfin::DTO::CreatePlaylistDto::CreatePlaylistDto | ( | QString | name, |
| QStringList | ids, | ||
| MediaType | mediaType, | ||
| QList< PlaylistUserPermissions > | users, | ||
| bool | isPublic ) |
| Jellyfin::DTO::CreatePlaylistDto::CreatePlaylistDto | ( | const CreatePlaylistDto & | other | ) |
|
static |
| QStringList Jellyfin::DTO::CreatePlaylistDto::ids | ( | ) | const |
Gets or sets item ids to add to the playlist.
| bool Jellyfin::DTO::CreatePlaylistDto::isPublic | ( | ) | const |
Gets or sets a value indicating whether the playlist is public.
| MediaType Jellyfin::DTO::CreatePlaylistDto::mediaType | ( | ) | const |
| QString Jellyfin::DTO::CreatePlaylistDto::name | ( | ) | const |
Gets or sets the name of the new playlist.
| void Jellyfin::DTO::CreatePlaylistDto::replaceData | ( | CreatePlaylistDto & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::CreatePlaylistDto::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::CreatePlaylistDto::setIds | ( | QStringList | newIds | ) |
Gets or sets item ids to add to the playlist.
| void Jellyfin::DTO::CreatePlaylistDto::setIsPublic | ( | bool | newIsPublic | ) |
Gets or sets a value indicating whether the playlist is public.
| void Jellyfin::DTO::CreatePlaylistDto::setMediaType | ( | MediaType | newMediaType | ) |
| void Jellyfin::DTO::CreatePlaylistDto::setName | ( | QString | newName | ) |
Gets or sets the name of the new playlist.
| void Jellyfin::DTO::CreatePlaylistDto::setUserId | ( | QString | newUserId | ) |
Gets or sets the user id.
| void Jellyfin::DTO::CreatePlaylistDto::setUserIdNull | ( | ) |
| void Jellyfin::DTO::CreatePlaylistDto::setUsers | ( | QList< PlaylistUserPermissions > | newUsers | ) |
Gets or sets the playlist users.
| QJsonObject Jellyfin::DTO::CreatePlaylistDto::toJson | ( | ) | const |
| QString Jellyfin::DTO::CreatePlaylistDto::userId | ( | ) | const |
Gets or sets the user id.
| bool Jellyfin::DTO::CreatePlaylistDto::userIdNull | ( | ) | const |
| QList< PlaylistUserPermissions > Jellyfin::DTO::CreatePlaylistDto::users | ( | ) | const |
Gets or sets the playlist users.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |