![]() |
Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <parentalrating.h>
Public Member Functions | |
| ParentalRating () | |
| 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 () |
| std::optional< qint32 > | value () const |
| Gets or sets the value. | |
| void | setValue (std::optional< qint32 > newValue) |
| Gets or sets the value. | |
| bool | valueNull () const |
| void | setValueNull () |
Static Public Member Functions | |
| static ParentalRating | fromJson (QJsonObject source) |
Protected Attributes | |
| QString | m_name |
| std::optional< qint32 > | m_value = std::nullopt |
| Jellyfin::DTO::ParentalRating::ParentalRating | ( | ) |
| Jellyfin::DTO::ParentalRating::ParentalRating | ( | const ParentalRating & | other | ) |
|
static |
| QString Jellyfin::DTO::ParentalRating::name | ( | ) | const |
Gets or sets the name.
| bool Jellyfin::DTO::ParentalRating::nameNull | ( | ) | const |
| void Jellyfin::DTO::ParentalRating::replaceData | ( | ParentalRating & | other | ) |
Replaces the data being hold by this class with that of the other.
| void Jellyfin::DTO::ParentalRating::setFromJson | ( | QJsonObject | source | ) |
| void Jellyfin::DTO::ParentalRating::setName | ( | QString | newName | ) |
Gets or sets the name.
| void Jellyfin::DTO::ParentalRating::setNameNull | ( | ) |
| void Jellyfin::DTO::ParentalRating::setValue | ( | std::optional< qint32 > | newValue | ) |
Gets or sets the value.
| void Jellyfin::DTO::ParentalRating::setValueNull | ( | ) |
| QJsonObject Jellyfin::DTO::ParentalRating::toJson | ( | ) | const |
| std::optional< qint32 > Jellyfin::DTO::ParentalRating::value | ( | ) | const |
Gets or sets the value.
| bool Jellyfin::DTO::ParentalRating::valueNull | ( | ) | const |
|
protected |
|
protected |