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

#include <namevaluepair.h>

Public Member Functions

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

Static Public Member Functions

static NameValuePair fromJson (QJsonObject source)
 

Protected Attributes

QString m_name
 
QString m_value
 

Constructor & Destructor Documentation

◆ NameValuePair() [1/2]

Jellyfin::DTO::NameValuePair::NameValuePair ( )

◆ NameValuePair() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ name()

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

Gets or sets the name.

◆ nameNull()

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

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setName()

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

Gets or sets the name.

◆ setNameNull()

void Jellyfin::DTO::NameValuePair::setNameNull ( )

◆ setValue()

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

Gets or sets the value.

◆ setValueNull()

void Jellyfin::DTO::NameValuePair::setValueNull ( )

◆ toJson()

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

◆ value()

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

Gets or sets the value.

◆ valueNull()

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

Member Data Documentation

◆ m_name

QString Jellyfin::DTO::NameValuePair::m_name
protected

◆ m_value

QString Jellyfin::DTO::NameValuePair::m_value
protected

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