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

#include <profilecondition.h>

Public Member Functions

 ProfileCondition (ProfileConditionType condition, ProfileConditionValue property, bool isRequired)
 
 ProfileCondition (const ProfileCondition &other)
 
void replaceData (ProfileCondition &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
ProfileConditionType condition () const
 
void setCondition (ProfileConditionType newCondition)
 
ProfileConditionValue property () const
 
void setProperty (ProfileConditionValue newProperty)
 
QString value () const
 
void setValue (QString newValue)
 
bool valueNull () const
 
void setValueNull ()
 
bool isRequired () const
 
void setIsRequired (bool newIsRequired)
 

Static Public Member Functions

static ProfileCondition fromJson (QJsonObject source)
 

Protected Attributes

ProfileConditionType m_condition
 
ProfileConditionValue m_property
 
QString m_value
 
bool m_isRequired
 

Constructor & Destructor Documentation

◆ ProfileCondition() [1/2]

Jellyfin::DTO::ProfileCondition::ProfileCondition ( ProfileConditionType condition,
ProfileConditionValue property,
bool isRequired )

◆ ProfileCondition() [2/2]

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

Member Function Documentation

◆ condition()

ProfileConditionType Jellyfin::DTO::ProfileCondition::condition ( ) const

◆ fromJson()

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

◆ isRequired()

bool Jellyfin::DTO::ProfileCondition::isRequired ( ) const

◆ property()

ProfileConditionValue Jellyfin::DTO::ProfileCondition::property ( ) const

◆ replaceData()

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

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

◆ setCondition()

void Jellyfin::DTO::ProfileCondition::setCondition ( ProfileConditionType newCondition)

◆ setFromJson()

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

◆ setIsRequired()

void Jellyfin::DTO::ProfileCondition::setIsRequired ( bool newIsRequired)

◆ setProperty()

void Jellyfin::DTO::ProfileCondition::setProperty ( ProfileConditionValue newProperty)

◆ setValue()

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

◆ setValueNull()

void Jellyfin::DTO::ProfileCondition::setValueNull ( )

◆ toJson()

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

◆ value()

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

◆ valueNull()

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

Member Data Documentation

◆ m_condition

ProfileConditionType Jellyfin::DTO::ProfileCondition::m_condition
protected

◆ m_isRequired

bool Jellyfin::DTO::ProfileCondition::m_isRequired
protected

◆ m_property

ProfileConditionValue Jellyfin::DTO::ProfileCondition::m_property
protected

◆ m_value

QString Jellyfin::DTO::ProfileCondition::m_value
protected

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