30#ifndef JELLYFIN_DTO_WAKEONLANINFO_H
31#define JELLYFIN_DTO_WAKEONLANINFO_H
63 QJsonObject
toJson()
const;
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
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
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