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

#include <parentalrating.h>

Public Member Functions

 ParentalRating (qint32 value)
 
 ParentalRating (const ParentalRating &other)
 
void replaceData (ParentalRating &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString name () const
 Gets or sets the name.
 
void setName (QString newName)
 Gets or sets the name.
 
bool nameNull () const
 
void setNameNull ()
 
qint32 value () const
 Gets or sets the value.
 
void setValue (qint32 newValue)
 Gets or sets the value.
 

Static Public Member Functions

static ParentalRating fromJson (QJsonObject source)
 

Protected Attributes

QString m_name
 
qint32 m_value
 

Constructor & Destructor Documentation

◆ ParentalRating() [1/2]

Jellyfin::DTO::ParentalRating::ParentalRating ( qint32 value)

◆ ParentalRating() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ name()

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

Gets or sets the name.

◆ nameNull()

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

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setName()

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

Gets or sets the name.

◆ setNameNull()

void Jellyfin::DTO::ParentalRating::setNameNull ( )

◆ setValue()

void Jellyfin::DTO::ParentalRating::setValue ( qint32 newValue)

Gets or sets the value.

◆ toJson()

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

◆ value()

qint32 Jellyfin::DTO::ParentalRating::value ( ) const

Gets or sets the value.

Member Data Documentation

◆ m_name

QString Jellyfin::DTO::ParentalRating::m_name
protected

◆ m_value

qint32 Jellyfin::DTO::ParentalRating::m_value
protected

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