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

#include <containerprofile.h>

Public Member Functions

 ContainerProfile (DlnaProfileType type)
 
 ContainerProfile (const ContainerProfile &other)
 
void replaceData (ContainerProfile &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
DlnaProfileType type () const
 
void setType (DlnaProfileType newType)
 
QList< ProfileConditionconditions () const
 
void setConditions (QList< ProfileCondition > newConditions)
 
bool conditionsNull () const
 
void setConditionsNull ()
 
QString container () const
 
void setContainer (QString newContainer)
 
bool containerNull () const
 
void setContainerNull ()
 

Static Public Member Functions

static ContainerProfile fromJson (QJsonObject source)
 

Protected Attributes

DlnaProfileType m_type
 
QList< ProfileConditionm_conditions
 
QString m_container
 

Constructor & Destructor Documentation

◆ ContainerProfile() [1/2]

Jellyfin::DTO::ContainerProfile::ContainerProfile ( DlnaProfileType type)

◆ ContainerProfile() [2/2]

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

Member Function Documentation

◆ conditions()

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

◆ conditionsNull()

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

◆ container()

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

◆ containerNull()

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

◆ fromJson()

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

◆ replaceData()

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

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

◆ setConditions()

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

◆ setConditionsNull()

void Jellyfin::DTO::ContainerProfile::setConditionsNull ( )

◆ setContainer()

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

◆ setContainerNull()

void Jellyfin::DTO::ContainerProfile::setContainerNull ( )

◆ setFromJson()

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

◆ setType()

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

◆ toJson()

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

◆ type()

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

Member Data Documentation

◆ m_conditions

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

◆ m_container

QString Jellyfin::DTO::ContainerProfile::m_container
protected

◆ m_type

DlnaProfileType Jellyfin::DTO::ContainerProfile::m_type
protected

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