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

#include <libraryoptioninfodto.h>

Public Member Functions

 LibraryOptionInfoDto (bool defaultEnabled)
 
 LibraryOptionInfoDto (const LibraryOptionInfoDto &other)
 
void replaceData (LibraryOptionInfoDto &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString name () const
 Gets or sets name.
 
void setName (QString newName)
 Gets or sets name.
 
bool nameNull () const
 
void setNameNull ()
 
bool defaultEnabled () const
 Gets or sets a value indicating whether default enabled.
 
void setDefaultEnabled (bool newDefaultEnabled)
 Gets or sets a value indicating whether default enabled.
 

Static Public Member Functions

static LibraryOptionInfoDto fromJson (QJsonObject source)
 

Protected Attributes

QString m_name
 
bool m_defaultEnabled
 

Constructor & Destructor Documentation

◆ LibraryOptionInfoDto() [1/2]

Jellyfin::DTO::LibraryOptionInfoDto::LibraryOptionInfoDto ( bool defaultEnabled)

◆ LibraryOptionInfoDto() [2/2]

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

Member Function Documentation

◆ defaultEnabled()

bool Jellyfin::DTO::LibraryOptionInfoDto::defaultEnabled ( ) const

Gets or sets a value indicating whether default enabled.

◆ fromJson()

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

◆ name()

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

Gets or sets name.

◆ nameNull()

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

◆ replaceData()

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

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

◆ setDefaultEnabled()

void Jellyfin::DTO::LibraryOptionInfoDto::setDefaultEnabled ( bool newDefaultEnabled)

Gets or sets a value indicating whether default enabled.

◆ setFromJson()

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

◆ setName()

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

Gets or sets name.

◆ setNameNull()

void Jellyfin::DTO::LibraryOptionInfoDto::setNameNull ( )

◆ toJson()

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

Member Data Documentation

◆ m_defaultEnabled

bool Jellyfin::DTO::LibraryOptionInfoDto::m_defaultEnabled
protected

◆ m_name

QString Jellyfin::DTO::LibraryOptionInfoDto::m_name
protected

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