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

#include <deviceoptions.h>

Public Member Functions

 DeviceOptions ()
 
 DeviceOptions (const DeviceOptions &other)
 
void replaceData (DeviceOptions &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString customName () const
 
void setCustomName (QString newCustomName)
 
bool customNameNull () const
 
void setCustomNameNull ()
 

Static Public Member Functions

static DeviceOptions fromJson (QJsonObject source)
 

Protected Attributes

QString m_customName
 

Constructor & Destructor Documentation

◆ DeviceOptions() [1/2]

Jellyfin::DTO::DeviceOptions::DeviceOptions ( )

◆ DeviceOptions() [2/2]

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

Member Function Documentation

◆ customName()

QString Jellyfin::DTO::DeviceOptions::customName ( ) const

◆ customNameNull()

bool Jellyfin::DTO::DeviceOptions::customNameNull ( ) const

◆ fromJson()

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

◆ replaceData()

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

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

◆ setCustomName()

void Jellyfin::DTO::DeviceOptions::setCustomName ( QString newCustomName)

◆ setCustomNameNull()

void Jellyfin::DTO::DeviceOptions::setCustomNameNull ( )

◆ setFromJson()

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

◆ toJson()

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

Member Data Documentation

◆ m_customName

QString Jellyfin::DTO::DeviceOptions::m_customName
protected

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