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, QList< ProfileCondition > conditions)
 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
 Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition which this container will be applied to.
void setConditions (QList< ProfileCondition > newConditions)
 Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition which this container will be applied to.
QString container () const
 Gets or sets the container(s) which this container must meet.
void setContainer (QString newContainer)
 Gets or sets the container(s) which this container must meet.
bool containerNull () const
void setContainerNull ()
QString subContainer () const
 Gets or sets the sub container(s) which this container must meet.
void setSubContainer (QString newSubContainer)
 Gets or sets the sub container(s) which this container must meet.
bool subContainerNull () const
void setSubContainerNull ()

Static Public Member Functions

static ContainerProfile fromJson (QJsonObject source)

Protected Attributes

DlnaProfileType m_type
QList< ProfileConditionm_conditions
QString m_container
QString m_subContainer

Constructor & Destructor Documentation

◆ ContainerProfile() [1/2]

Jellyfin::DTO::ContainerProfile::ContainerProfile ( DlnaProfileType type,
QList< ProfileCondition > conditions )

◆ ContainerProfile() [2/2]

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

Member Function Documentation

◆ conditions()

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

Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition which this container will be applied to.

◆ container()

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

Gets or sets the container(s) which this container must meet.

◆ 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)

Gets or sets the list of MediaBrowser.Model.Dlna.ProfileCondition which this container will be applied to.

◆ setContainer()

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

Gets or sets the container(s) which this container must meet.

◆ setContainerNull()

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

◆ setFromJson()

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

◆ setSubContainer()

void Jellyfin::DTO::ContainerProfile::setSubContainer ( QString newSubContainer)

Gets or sets the sub container(s) which this container must meet.

◆ setSubContainerNull()

void Jellyfin::DTO::ContainerProfile::setSubContainerNull ( )

◆ setType()

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

◆ subContainer()

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

Gets or sets the sub container(s) which this container must meet.

◆ subContainerNull()

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

◆ 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_subContainer

QString Jellyfin::DTO::ContainerProfile::m_subContainer
protected

◆ m_type

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

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