30#ifndef JELLYFIN_DTO_DEVICEOPTIONSDTO_H
31#define JELLYFIN_DTO_DEVICEOPTIONSDTO_H
63 QJsonObject
toJson()
const;
An Api client for Jellyfin. Handles requests and authentication.
Definition apiclient.h:90
Definition deviceoptionsdto.h:48
QString m_customName
Definition deviceoptionsdto.h:101
void setFromJson(QJsonObject source)
Definition deviceoptionsdto.cpp:63
void setDeviceIdNull()
Definition deviceoptionsdto.cpp:102
void setCustomNameNull()
Definition deviceoptionsdto.cpp:115
bool customNameNull() const
Definition deviceoptionsdto.cpp:111
QString customName() const
Gets or sets the custom name.
Definition deviceoptionsdto.cpp:106
QString m_deviceId
Definition deviceoptionsdto.h:100
void replaceData(DeviceOptionsDto &other)
Definition deviceoptionsdto.cpp:50
void setDeviceId(QString newDeviceId)
Gets or sets the device id.
Definition deviceoptionsdto.cpp:95
DeviceOptionsDto(qint32 jellyfinId)
Definition deviceoptionsdto.cpp:36
qint32 m_jellyfinId
Definition deviceoptionsdto.h:99
QJsonObject toJson() const
Definition deviceoptionsdto.cpp:70
void setCustomName(QString newCustomName)
Gets or sets the custom name.
Definition deviceoptionsdto.cpp:108
void setJellyfinId(qint32 newJellyfinId)
Gets or sets the id.
Definition deviceoptionsdto.cpp:89
qint32 jellyfinId() const
Gets or sets the id.
Definition deviceoptionsdto.cpp:87
static DeviceOptionsDto fromJson(QJsonObject source)
Definition deviceoptionsdto.cpp:56
bool deviceIdNull() const
Definition deviceoptionsdto.cpp:98
QString deviceId() const
Gets or sets the device id.
Definition deviceoptionsdto.cpp:93
Contains auto-generated Data Transfer Objects for the Jellyfin HTTP API.
Definition accessschedule.h:128
Jellyfin::DTO::DeviceOptionsDto DeviceOptionsDto
Definition deviceoptionsdto.h:113
AccessSchedule fromJsonValue(const QJsonValue &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:133
QJsonValue toJsonValue(const AccessSchedule &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:139
Definition jsonconvimpl.h:45