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

#include <codecprofile.h>

Public Member Functions

 CodecProfile (CodecType type)
 
 CodecProfile (const CodecProfile &other)
 
void replaceData (CodecProfile &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
CodecType type () const
 
void setType (CodecType newType)
 
QList< ProfileConditionconditions () const
 
void setConditions (QList< ProfileCondition > newConditions)
 
bool conditionsNull () const
 
void setConditionsNull ()
 
QList< ProfileConditionapplyConditions () const
 
void setApplyConditions (QList< ProfileCondition > newApplyConditions)
 
bool applyConditionsNull () const
 
void setApplyConditionsNull ()
 
QString codec () const
 
void setCodec (QString newCodec)
 
bool codecNull () const
 
void setCodecNull ()
 
QString container () const
 
void setContainer (QString newContainer)
 
bool containerNull () const
 
void setContainerNull ()
 

Static Public Member Functions

static CodecProfile fromJson (QJsonObject source)
 

Protected Attributes

CodecType m_type
 
QList< ProfileConditionm_conditions
 
QList< ProfileConditionm_applyConditions
 
QString m_codec
 
QString m_container
 

Constructor & Destructor Documentation

◆ CodecProfile() [1/2]

Jellyfin::DTO::CodecProfile::CodecProfile ( CodecType type)

◆ CodecProfile() [2/2]

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

Member Function Documentation

◆ applyConditions()

QList< ProfileCondition > Jellyfin::DTO::CodecProfile::applyConditions ( ) const

◆ applyConditionsNull()

bool Jellyfin::DTO::CodecProfile::applyConditionsNull ( ) const

◆ codec()

QString Jellyfin::DTO::CodecProfile::codec ( ) const

◆ codecNull()

bool Jellyfin::DTO::CodecProfile::codecNull ( ) const

◆ conditions()

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

◆ conditionsNull()

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

◆ container()

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

◆ containerNull()

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

◆ fromJson()

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

◆ replaceData()

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

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

◆ setApplyConditions()

void Jellyfin::DTO::CodecProfile::setApplyConditions ( QList< ProfileCondition > newApplyConditions)

◆ setApplyConditionsNull()

void Jellyfin::DTO::CodecProfile::setApplyConditionsNull ( )

◆ setCodec()

void Jellyfin::DTO::CodecProfile::setCodec ( QString newCodec)

◆ setCodecNull()

void Jellyfin::DTO::CodecProfile::setCodecNull ( )

◆ setConditions()

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

◆ setConditionsNull()

void Jellyfin::DTO::CodecProfile::setConditionsNull ( )

◆ setContainer()

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

◆ setContainerNull()

void Jellyfin::DTO::CodecProfile::setContainerNull ( )

◆ setFromJson()

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

◆ setType()

void Jellyfin::DTO::CodecProfile::setType ( CodecType newType)

◆ toJson()

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

◆ type()

CodecType Jellyfin::DTO::CodecProfile::type ( ) const

Member Data Documentation

◆ m_applyConditions

QList<ProfileCondition> Jellyfin::DTO::CodecProfile::m_applyConditions
protected

◆ m_codec

QString Jellyfin::DTO::CodecProfile::m_codec
protected

◆ m_conditions

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

◆ m_container

QString Jellyfin::DTO::CodecProfile::m_container
protected

◆ m_type

CodecType Jellyfin::DTO::CodecProfile::m_type
protected

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