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

#include <notificationtypeinfo.h>

Public Member Functions

 NotificationTypeInfo (bool enabled, bool isBasedOnUserEvent)
 
 NotificationTypeInfo (const NotificationTypeInfo &other)
 
void replaceData (NotificationTypeInfo &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString type () const
 
void setType (QString newType)
 
bool typeNull () const
 
void setTypeNull ()
 
QString name () const
 
void setName (QString newName)
 
bool nameNull () const
 
void setNameNull ()
 
bool enabled () const
 
void setEnabled (bool newEnabled)
 
QString category () const
 
void setCategory (QString newCategory)
 
bool categoryNull () const
 
void setCategoryNull ()
 
bool isBasedOnUserEvent () const
 
void setIsBasedOnUserEvent (bool newIsBasedOnUserEvent)
 

Static Public Member Functions

static NotificationTypeInfo fromJson (QJsonObject source)
 

Protected Attributes

QString m_type
 
QString m_name
 
bool m_enabled
 
QString m_category
 
bool m_isBasedOnUserEvent
 

Constructor & Destructor Documentation

◆ NotificationTypeInfo() [1/2]

Jellyfin::DTO::NotificationTypeInfo::NotificationTypeInfo ( bool enabled,
bool isBasedOnUserEvent )

◆ NotificationTypeInfo() [2/2]

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

Member Function Documentation

◆ category()

QString Jellyfin::DTO::NotificationTypeInfo::category ( ) const

◆ categoryNull()

bool Jellyfin::DTO::NotificationTypeInfo::categoryNull ( ) const

◆ enabled()

bool Jellyfin::DTO::NotificationTypeInfo::enabled ( ) const

◆ fromJson()

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

◆ isBasedOnUserEvent()

bool Jellyfin::DTO::NotificationTypeInfo::isBasedOnUserEvent ( ) const

◆ name()

QString Jellyfin::DTO::NotificationTypeInfo::name ( ) const

◆ nameNull()

bool Jellyfin::DTO::NotificationTypeInfo::nameNull ( ) const

◆ replaceData()

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

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

◆ setCategory()

void Jellyfin::DTO::NotificationTypeInfo::setCategory ( QString newCategory)

◆ setCategoryNull()

void Jellyfin::DTO::NotificationTypeInfo::setCategoryNull ( )

◆ setEnabled()

void Jellyfin::DTO::NotificationTypeInfo::setEnabled ( bool newEnabled)

◆ setFromJson()

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

◆ setIsBasedOnUserEvent()

void Jellyfin::DTO::NotificationTypeInfo::setIsBasedOnUserEvent ( bool newIsBasedOnUserEvent)

◆ setName()

void Jellyfin::DTO::NotificationTypeInfo::setName ( QString newName)

◆ setNameNull()

void Jellyfin::DTO::NotificationTypeInfo::setNameNull ( )

◆ setType()

void Jellyfin::DTO::NotificationTypeInfo::setType ( QString newType)

◆ setTypeNull()

void Jellyfin::DTO::NotificationTypeInfo::setTypeNull ( )

◆ toJson()

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

◆ type()

QString Jellyfin::DTO::NotificationTypeInfo::type ( ) const

◆ typeNull()

bool Jellyfin::DTO::NotificationTypeInfo::typeNull ( ) const

Member Data Documentation

◆ m_category

QString Jellyfin::DTO::NotificationTypeInfo::m_category
protected

◆ m_enabled

bool Jellyfin::DTO::NotificationTypeInfo::m_enabled
protected

◆ m_isBasedOnUserEvent

bool Jellyfin::DTO::NotificationTypeInfo::m_isBasedOnUserEvent
protected

◆ m_name

QString Jellyfin::DTO::NotificationTypeInfo::m_name
protected

◆ m_type

QString Jellyfin::DTO::NotificationTypeInfo::m_type
protected

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