Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
Loading...
Searching...
No Matches
Jellyfin::DTO::WakeOnLanInfo Class Reference

#include <wakeonlaninfo.h>

Public Member Functions

 WakeOnLanInfo (qint32 port)
 
 WakeOnLanInfo (const WakeOnLanInfo &other)
 
void replaceData (WakeOnLanInfo &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString macAddress () const
 Gets the MAC address of the device.
 
void setMacAddress (QString newMacAddress)
 Gets the MAC address of the device.
 
bool macAddressNull () const
 
void setMacAddressNull ()
 
qint32 port () const
 Gets or sets the wake-on-LAN port.
 
void setPort (qint32 newPort)
 Gets or sets the wake-on-LAN port.
 

Static Public Member Functions

static WakeOnLanInfo fromJson (QJsonObject source)
 

Protected Attributes

QString m_macAddress
 
qint32 m_port
 

Constructor & Destructor Documentation

◆ WakeOnLanInfo() [1/2]

Jellyfin::DTO::WakeOnLanInfo::WakeOnLanInfo ( qint32 port)

◆ WakeOnLanInfo() [2/2]

Jellyfin::DTO::WakeOnLanInfo::WakeOnLanInfo ( const WakeOnLanInfo & other)

Member Function Documentation

◆ fromJson()

WakeOnLanInfo Jellyfin::DTO::WakeOnLanInfo::fromJson ( QJsonObject source)
static

◆ macAddress()

QString Jellyfin::DTO::WakeOnLanInfo::macAddress ( ) const

Gets the MAC address of the device.

◆ macAddressNull()

bool Jellyfin::DTO::WakeOnLanInfo::macAddressNull ( ) const

◆ port()

qint32 Jellyfin::DTO::WakeOnLanInfo::port ( ) const

Gets or sets the wake-on-LAN port.

◆ replaceData()

void Jellyfin::DTO::WakeOnLanInfo::replaceData ( WakeOnLanInfo & other)

Replaces the data being hold by this class with that of the other.

◆ setFromJson()

void Jellyfin::DTO::WakeOnLanInfo::setFromJson ( QJsonObject source)

◆ setMacAddress()

void Jellyfin::DTO::WakeOnLanInfo::setMacAddress ( QString newMacAddress)

Gets the MAC address of the device.

◆ setMacAddressNull()

void Jellyfin::DTO::WakeOnLanInfo::setMacAddressNull ( )

◆ setPort()

void Jellyfin::DTO::WakeOnLanInfo::setPort ( qint32 newPort)

Gets or sets the wake-on-LAN port.

◆ toJson()

QJsonObject Jellyfin::DTO::WakeOnLanInfo::toJson ( ) const

Member Data Documentation

◆ m_macAddress

QString Jellyfin::DTO::WakeOnLanInfo::m_macAddress
protected

◆ m_port

qint32 Jellyfin::DTO::WakeOnLanInfo::m_port
protected

The documentation for this class was generated from the following files: