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

#include <controlresponse.h>

Public Member Functions

 ControlResponse (bool isSuccessful)
 
 ControlResponse (const ControlResponse &other)
 
void replaceData (ControlResponse &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QJsonObject headers () const
 
void setHeaders (QJsonObject newHeaders)
 
bool headersNull () const
 
void setHeadersNull ()
 
QString xml () const
 
void setXml (QString newXml)
 
bool xmlNull () const
 
void setXmlNull ()
 
bool isSuccessful () const
 
void setIsSuccessful (bool newIsSuccessful)
 

Static Public Member Functions

static ControlResponse fromJson (QJsonObject source)
 

Protected Attributes

QJsonObject m_headers
 
QString m_xml
 
bool m_isSuccessful
 

Constructor & Destructor Documentation

◆ ControlResponse() [1/2]

Jellyfin::DTO::ControlResponse::ControlResponse ( bool isSuccessful)

◆ ControlResponse() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ headers()

QJsonObject Jellyfin::DTO::ControlResponse::headers ( ) const

◆ headersNull()

bool Jellyfin::DTO::ControlResponse::headersNull ( ) const

◆ isSuccessful()

bool Jellyfin::DTO::ControlResponse::isSuccessful ( ) const

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setHeaders()

void Jellyfin::DTO::ControlResponse::setHeaders ( QJsonObject newHeaders)

◆ setHeadersNull()

void Jellyfin::DTO::ControlResponse::setHeadersNull ( )

◆ setIsSuccessful()

void Jellyfin::DTO::ControlResponse::setIsSuccessful ( bool newIsSuccessful)

◆ setXml()

void Jellyfin::DTO::ControlResponse::setXml ( QString newXml)

◆ setXmlNull()

void Jellyfin::DTO::ControlResponse::setXmlNull ( )

◆ toJson()

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

◆ xml()

QString Jellyfin::DTO::ControlResponse::xml ( ) const

◆ xmlNull()

bool Jellyfin::DTO::ControlResponse::xmlNull ( ) const

Member Data Documentation

◆ m_headers

QJsonObject Jellyfin::DTO::ControlResponse::m_headers
protected

◆ m_isSuccessful

bool Jellyfin::DTO::ControlResponse::m_isSuccessful
protected

◆ m_xml

QString Jellyfin::DTO::ControlResponse::m_xml
protected

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