30#ifndef JELLYFIN_DTO_WAKEONLANINFO_H
31#define JELLYFIN_DTO_WAKEONLANINFO_H
63 QJsonObject
toJson()
const;
An Api client for Jellyfin. Handles requests and authentication.
Definition apiclient.h:90
Definition wakeonlaninfo.h:48
static WakeOnLanInfo fromJson(QJsonObject source)
Definition wakeonlaninfo.cpp:54
qint32 port() const
Gets or sets the wake-on-LAN port.
Definition wakeonlaninfo.cpp:92
QString m_macAddress
Definition wakeonlaninfo.h:88
void setPort(qint32 newPort)
Gets or sets the wake-on-LAN port.
Definition wakeonlaninfo.cpp:94
WakeOnLanInfo(qint32 port)
Definition wakeonlaninfo.cpp:36
void replaceData(WakeOnLanInfo &other)
Definition wakeonlaninfo.cpp:49
void setMacAddress(QString newMacAddress)
Gets the MAC address of the device.
Definition wakeonlaninfo.cpp:81
QString macAddress() const
Gets the MAC address of the device.
Definition wakeonlaninfo.cpp:79
QJsonObject toJson() const
Definition wakeonlaninfo.cpp:67
qint32 m_port
Definition wakeonlaninfo.h:89
void setFromJson(QJsonObject source)
Definition wakeonlaninfo.cpp:61
bool macAddressNull() const
Definition wakeonlaninfo.cpp:84
void setMacAddressNull()
Definition wakeonlaninfo.cpp:88
Contains auto-generated Data Transfer Objects for the Jellyfin HTTP API.
Definition accessschedule.h:128
AccessSchedule fromJsonValue(const QJsonValue &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:133
Jellyfin::DTO::WakeOnLanInfo WakeOnLanInfo
Definition wakeonlaninfo.h:101
QJsonValue toJsonValue(const AccessSchedule &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:139
Definition jsonconvimpl.h:45