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

#include <httpheaderinfo.h>

Public Member Functions

 HttpHeaderInfo (HeaderMatchType match)
 
 HttpHeaderInfo (const HttpHeaderInfo &other)
 
void replaceData (HttpHeaderInfo &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString name () const
 
void setName (QString newName)
 
bool nameNull () const
 
void setNameNull ()
 
QString value () const
 
void setValue (QString newValue)
 
bool valueNull () const
 
void setValueNull ()
 
HeaderMatchType match () const
 
void setMatch (HeaderMatchType newMatch)
 

Static Public Member Functions

static HttpHeaderInfo fromJson (QJsonObject source)
 

Protected Attributes

QString m_name
 
QString m_value
 
HeaderMatchType m_match
 

Constructor & Destructor Documentation

◆ HttpHeaderInfo() [1/2]

Jellyfin::DTO::HttpHeaderInfo::HttpHeaderInfo ( HeaderMatchType match)

◆ HttpHeaderInfo() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ match()

HeaderMatchType Jellyfin::DTO::HttpHeaderInfo::match ( ) const

◆ name()

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

◆ nameNull()

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

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setMatch()

void Jellyfin::DTO::HttpHeaderInfo::setMatch ( HeaderMatchType newMatch)

◆ setName()

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

◆ setNameNull()

void Jellyfin::DTO::HttpHeaderInfo::setNameNull ( )

◆ setValue()

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

◆ setValueNull()

void Jellyfin::DTO::HttpHeaderInfo::setValueNull ( )

◆ toJson()

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

◆ value()

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

◆ valueNull()

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

Member Data Documentation

◆ m_match

HeaderMatchType Jellyfin::DTO::HttpHeaderInfo::m_match
protected

◆ m_name

QString Jellyfin::DTO::HttpHeaderInfo::m_name
protected

◆ m_value

QString Jellyfin::DTO::HttpHeaderInfo::m_value
protected

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