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

#include <responseprofile.h>

Public Member Functions

 ResponseProfile (DlnaProfileType type)
 
 ResponseProfile (const ResponseProfile &other)
 
void replaceData (ResponseProfile &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString container () const
 
void setContainer (QString newContainer)
 
bool containerNull () const
 
void setContainerNull ()
 
QString audioCodec () const
 
void setAudioCodec (QString newAudioCodec)
 
bool audioCodecNull () const
 
void setAudioCodecNull ()
 
QString videoCodec () const
 
void setVideoCodec (QString newVideoCodec)
 
bool videoCodecNull () const
 
void setVideoCodecNull ()
 
DlnaProfileType type () const
 
void setType (DlnaProfileType newType)
 
QString orgPn () const
 
void setOrgPn (QString newOrgPn)
 
bool orgPnNull () const
 
void setOrgPnNull ()
 
QString mimeType () const
 
void setMimeType (QString newMimeType)
 
bool mimeTypeNull () const
 
void setMimeTypeNull ()
 
QList< ProfileConditionconditions () const
 
void setConditions (QList< ProfileCondition > newConditions)
 
bool conditionsNull () const
 
void setConditionsNull ()
 

Static Public Member Functions

static ResponseProfile fromJson (QJsonObject source)
 

Protected Attributes

QString m_container
 
QString m_audioCodec
 
QString m_videoCodec
 
DlnaProfileType m_type
 
QString m_orgPn
 
QString m_mimeType
 
QList< ProfileConditionm_conditions
 

Constructor & Destructor Documentation

◆ ResponseProfile() [1/2]

Jellyfin::DTO::ResponseProfile::ResponseProfile ( DlnaProfileType type)

◆ ResponseProfile() [2/2]

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

Member Function Documentation

◆ audioCodec()

QString Jellyfin::DTO::ResponseProfile::audioCodec ( ) const

◆ audioCodecNull()

bool Jellyfin::DTO::ResponseProfile::audioCodecNull ( ) const

◆ conditions()

QList< ProfileCondition > Jellyfin::DTO::ResponseProfile::conditions ( ) const

◆ conditionsNull()

bool Jellyfin::DTO::ResponseProfile::conditionsNull ( ) const

◆ container()

QString Jellyfin::DTO::ResponseProfile::container ( ) const

◆ containerNull()

bool Jellyfin::DTO::ResponseProfile::containerNull ( ) const

◆ fromJson()

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

◆ mimeType()

QString Jellyfin::DTO::ResponseProfile::mimeType ( ) const

◆ mimeTypeNull()

bool Jellyfin::DTO::ResponseProfile::mimeTypeNull ( ) const

◆ orgPn()

QString Jellyfin::DTO::ResponseProfile::orgPn ( ) const

◆ orgPnNull()

bool Jellyfin::DTO::ResponseProfile::orgPnNull ( ) const

◆ replaceData()

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

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

◆ setAudioCodec()

void Jellyfin::DTO::ResponseProfile::setAudioCodec ( QString newAudioCodec)

◆ setAudioCodecNull()

void Jellyfin::DTO::ResponseProfile::setAudioCodecNull ( )

◆ setConditions()

void Jellyfin::DTO::ResponseProfile::setConditions ( QList< ProfileCondition > newConditions)

◆ setConditionsNull()

void Jellyfin::DTO::ResponseProfile::setConditionsNull ( )

◆ setContainer()

void Jellyfin::DTO::ResponseProfile::setContainer ( QString newContainer)

◆ setContainerNull()

void Jellyfin::DTO::ResponseProfile::setContainerNull ( )

◆ setFromJson()

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

◆ setMimeType()

void Jellyfin::DTO::ResponseProfile::setMimeType ( QString newMimeType)

◆ setMimeTypeNull()

void Jellyfin::DTO::ResponseProfile::setMimeTypeNull ( )

◆ setOrgPn()

void Jellyfin::DTO::ResponseProfile::setOrgPn ( QString newOrgPn)

◆ setOrgPnNull()

void Jellyfin::DTO::ResponseProfile::setOrgPnNull ( )

◆ setType()

void Jellyfin::DTO::ResponseProfile::setType ( DlnaProfileType newType)

◆ setVideoCodec()

void Jellyfin::DTO::ResponseProfile::setVideoCodec ( QString newVideoCodec)

◆ setVideoCodecNull()

void Jellyfin::DTO::ResponseProfile::setVideoCodecNull ( )

◆ toJson()

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

◆ type()

DlnaProfileType Jellyfin::DTO::ResponseProfile::type ( ) const

◆ videoCodec()

QString Jellyfin::DTO::ResponseProfile::videoCodec ( ) const

◆ videoCodecNull()

bool Jellyfin::DTO::ResponseProfile::videoCodecNull ( ) const

Member Data Documentation

◆ m_audioCodec

QString Jellyfin::DTO::ResponseProfile::m_audioCodec
protected

◆ m_conditions

QList<ProfileCondition> Jellyfin::DTO::ResponseProfile::m_conditions
protected

◆ m_container

QString Jellyfin::DTO::ResponseProfile::m_container
protected

◆ m_mimeType

QString Jellyfin::DTO::ResponseProfile::m_mimeType
protected

◆ m_orgPn

QString Jellyfin::DTO::ResponseProfile::m_orgPn
protected

◆ m_type

DlnaProfileType Jellyfin::DTO::ResponseProfile::m_type
protected

◆ m_videoCodec

QString Jellyfin::DTO::ResponseProfile::m_videoCodec
protected

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