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

#include <problemdetails.h>

Public Member Functions

 ProblemDetails ()
 
 ProblemDetails (const ProblemDetails &other)
 
void replaceData (ProblemDetails &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString type () const
 
void setType (QString newType)
 
bool typeNull () const
 
void setTypeNull ()
 
QString title () const
 
void setTitle (QString newTitle)
 
bool titleNull () const
 
void setTitleNull ()
 
std::optional< qint32 > status () const
 
void setStatus (std::optional< qint32 > newStatus)
 
bool statusNull () const
 
void setStatusNull ()
 
QString detail () const
 
void setDetail (QString newDetail)
 
bool detailNull () const
 
void setDetailNull ()
 
QString instance () const
 
void setInstance (QString newInstance)
 
bool instanceNull () const
 
void setInstanceNull ()
 

Static Public Member Functions

static ProblemDetails fromJson (QJsonObject source)
 

Protected Attributes

QString m_type
 
QString m_title
 
std::optional< qint32 > m_status = std::nullopt
 
QString m_detail
 
QString m_instance
 

Constructor & Destructor Documentation

◆ ProblemDetails() [1/2]

Jellyfin::DTO::ProblemDetails::ProblemDetails ( )

◆ ProblemDetails() [2/2]

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

Member Function Documentation

◆ detail()

QString Jellyfin::DTO::ProblemDetails::detail ( ) const

◆ detailNull()

bool Jellyfin::DTO::ProblemDetails::detailNull ( ) const

◆ fromJson()

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

◆ instance()

QString Jellyfin::DTO::ProblemDetails::instance ( ) const

◆ instanceNull()

bool Jellyfin::DTO::ProblemDetails::instanceNull ( ) const

◆ replaceData()

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

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

◆ setDetail()

void Jellyfin::DTO::ProblemDetails::setDetail ( QString newDetail)

◆ setDetailNull()

void Jellyfin::DTO::ProblemDetails::setDetailNull ( )

◆ setFromJson()

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

◆ setInstance()

void Jellyfin::DTO::ProblemDetails::setInstance ( QString newInstance)

◆ setInstanceNull()

void Jellyfin::DTO::ProblemDetails::setInstanceNull ( )

◆ setStatus()

void Jellyfin::DTO::ProblemDetails::setStatus ( std::optional< qint32 > newStatus)

◆ setStatusNull()

void Jellyfin::DTO::ProblemDetails::setStatusNull ( )

◆ setTitle()

void Jellyfin::DTO::ProblemDetails::setTitle ( QString newTitle)

◆ setTitleNull()

void Jellyfin::DTO::ProblemDetails::setTitleNull ( )

◆ setType()

void Jellyfin::DTO::ProblemDetails::setType ( QString newType)

◆ setTypeNull()

void Jellyfin::DTO::ProblemDetails::setTypeNull ( )

◆ status()

std::optional< qint32 > Jellyfin::DTO::ProblemDetails::status ( ) const

◆ statusNull()

bool Jellyfin::DTO::ProblemDetails::statusNull ( ) const

◆ title()

QString Jellyfin::DTO::ProblemDetails::title ( ) const

◆ titleNull()

bool Jellyfin::DTO::ProblemDetails::titleNull ( ) const

◆ toJson()

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

◆ type()

QString Jellyfin::DTO::ProblemDetails::type ( ) const

◆ typeNull()

bool Jellyfin::DTO::ProblemDetails::typeNull ( ) const

Member Data Documentation

◆ m_detail

QString Jellyfin::DTO::ProblemDetails::m_detail
protected

◆ m_instance

QString Jellyfin::DTO::ProblemDetails::m_instance
protected

◆ m_status

std::optional<qint32> Jellyfin::DTO::ProblemDetails::m_status = std::nullopt
protected

◆ m_title

QString Jellyfin::DTO::ProblemDetails::m_title
protected

◆ m_type

QString Jellyfin::DTO::ProblemDetails::m_type
protected

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