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

#include <xmlattribute.h>

Public Member Functions

 XmlAttribute ()
 
 XmlAttribute (const XmlAttribute &other)
 
void replaceData (XmlAttribute &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString name () const
 Gets or sets the name of the attribute.
 
void setName (QString newName)
 Gets or sets the name of the attribute.
 
bool nameNull () const
 
void setNameNull ()
 
QString value () const
 Gets or sets the value of the attribute.
 
void setValue (QString newValue)
 Gets or sets the value of the attribute.
 
bool valueNull () const
 
void setValueNull ()
 

Static Public Member Functions

static XmlAttribute fromJson (QJsonObject source)
 

Protected Attributes

QString m_name
 
QString m_value
 

Constructor & Destructor Documentation

◆ XmlAttribute() [1/2]

Jellyfin::DTO::XmlAttribute::XmlAttribute ( )

◆ XmlAttribute() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ name()

QString Jellyfin::DTO::XmlAttribute::name ( ) const

Gets or sets the name of the attribute.

◆ nameNull()

bool Jellyfin::DTO::XmlAttribute::nameNull ( ) const

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setName()

void Jellyfin::DTO::XmlAttribute::setName ( QString newName)

Gets or sets the name of the attribute.

◆ setNameNull()

void Jellyfin::DTO::XmlAttribute::setNameNull ( )

◆ setValue()

void Jellyfin::DTO::XmlAttribute::setValue ( QString newValue)

Gets or sets the value of the attribute.

◆ setValueNull()

void Jellyfin::DTO::XmlAttribute::setValueNull ( )

◆ toJson()

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

◆ value()

QString Jellyfin::DTO::XmlAttribute::value ( ) const

Gets or sets the value of the attribute.

◆ valueNull()

bool Jellyfin::DTO::XmlAttribute::valueNull ( ) const

Member Data Documentation

◆ m_name

QString Jellyfin::DTO::XmlAttribute::m_name
protected

◆ m_value

QString Jellyfin::DTO::XmlAttribute::m_value
protected

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