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

#include <nameguidpair.h>

Public Member Functions

 NameGuidPair (QString jellyfinId)
 
 NameGuidPair (const NameGuidPair &other)
 
void replaceData (NameGuidPair &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString name () const
 
void setName (QString newName)
 
bool nameNull () const
 
void setNameNull ()
 
QString jellyfinId () const
 
void setJellyfinId (QString newJellyfinId)
 

Static Public Member Functions

static NameGuidPair fromJson (QJsonObject source)
 

Protected Attributes

QString m_name
 
QString m_jellyfinId
 

Constructor & Destructor Documentation

◆ NameGuidPair() [1/2]

Jellyfin::DTO::NameGuidPair::NameGuidPair ( QString jellyfinId)

◆ NameGuidPair() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ jellyfinId()

QString Jellyfin::DTO::NameGuidPair::jellyfinId ( ) const

◆ name()

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

◆ nameNull()

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

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setJellyfinId()

void Jellyfin::DTO::NameGuidPair::setJellyfinId ( QString newJellyfinId)

◆ setName()

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

◆ setNameNull()

void Jellyfin::DTO::NameGuidPair::setNameNull ( )

◆ toJson()

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

Member Data Documentation

◆ m_jellyfinId

QString Jellyfin::DTO::NameGuidPair::m_jellyfinId
protected

◆ m_name

QString Jellyfin::DTO::NameGuidPair::m_name
protected

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