![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <deviceoptionsdto.h>
Public Member Functions | |
| DeviceOptionsDto (qint32 jellyfinId) | |
| DeviceOptionsDto (const DeviceOptionsDto &other) | |
| void | replaceData (DeviceOptionsDto &other) |
| void | setFromJson (QJsonObject source) |
| QJsonObject | toJson () const |
| qint32 | jellyfinId () const |
| Gets or sets the id. | |
| void | setJellyfinId (qint32 newJellyfinId) |
| Gets or sets the id. | |
| QString | deviceId () const |
| Gets or sets the device id. | |
| void | setDeviceId (QString newDeviceId) |
| Gets or sets the device id. | |
| bool | deviceIdNull () const |
| void | setDeviceIdNull () |
| QString | customName () const |
| Gets or sets the custom name. | |
| void | setCustomName (QString newCustomName) |
| Gets or sets the custom name. | |
| bool | customNameNull () const |
| void | setCustomNameNull () |
Static Public Member Functions | |
| static DeviceOptionsDto | fromJson (QJsonObject source) |
Protected Attributes | |
| qint32 | m_jellyfinId |
| QString | m_deviceId |
| QString | m_customName |
| Jellyfin::DTO::DeviceOptionsDto::DeviceOptionsDto | ( | qint32 | jellyfinId | ) |
| Jellyfin::DTO::DeviceOptionsDto::DeviceOptionsDto | ( | const DeviceOptionsDto & | other | ) |
| QString Jellyfin::DTO::DeviceOptionsDto::customName | ( | ) | const |
Gets or sets the custom name.
| bool Jellyfin::DTO::DeviceOptionsDto::customNameNull | ( | ) | const |
| QString Jellyfin::DTO::DeviceOptionsDto::deviceId | ( | ) | const |
Gets or sets the device id.
| bool Jellyfin::DTO::DeviceOptionsDto::deviceIdNull | ( | ) | const |
|
static |
| qint32 Jellyfin::DTO::DeviceOptionsDto::jellyfinId | ( | ) | const |
Gets or sets the id.
| void Jellyfin::DTO::DeviceOptionsDto::replaceData | ( | DeviceOptionsDto & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::DeviceOptionsDto::setCustomName | ( | QString | newCustomName | ) |
Gets or sets the custom name.
| void Jellyfin::DTO::DeviceOptionsDto::setCustomNameNull | ( | ) |
| void Jellyfin::DTO::DeviceOptionsDto::setDeviceId | ( | QString | newDeviceId | ) |
Gets or sets the device id.
| void Jellyfin::DTO::DeviceOptionsDto::setDeviceIdNull | ( | ) |
| void Jellyfin::DTO::DeviceOptionsDto::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::DeviceOptionsDto::setJellyfinId | ( | qint32 | newJellyfinId | ) |
Gets or sets the id.
| QJsonObject Jellyfin::DTO::DeviceOptionsDto::toJson | ( | ) | const |
|
protected |
|
protected |
|
protected |