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

#include <updatelibraryoptionsdto.h>

Public Member Functions

 UpdateLibraryOptionsDto (QString jellyfinId, QSharedPointer< LibraryOptions > libraryOptions)
 
 UpdateLibraryOptionsDto (const UpdateLibraryOptionsDto &other)
 
void replaceData (UpdateLibraryOptionsDto &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString jellyfinId () const
 Gets or sets the library item id.
 
void setJellyfinId (QString newJellyfinId)
 Gets or sets the library item id.
 
QSharedPointer< LibraryOptionslibraryOptions () const
 
void setLibraryOptions (QSharedPointer< LibraryOptions > newLibraryOptions)
 

Static Public Member Functions

static UpdateLibraryOptionsDto fromJson (QJsonObject source)
 

Protected Attributes

QString m_jellyfinId
 
QSharedPointer< LibraryOptionsm_libraryOptions = QSharedPointer<LibraryOptions>()
 

Constructor & Destructor Documentation

◆ UpdateLibraryOptionsDto() [1/2]

Jellyfin::DTO::UpdateLibraryOptionsDto::UpdateLibraryOptionsDto ( QString jellyfinId,
QSharedPointer< LibraryOptions > libraryOptions )

◆ UpdateLibraryOptionsDto() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ jellyfinId()

QString Jellyfin::DTO::UpdateLibraryOptionsDto::jellyfinId ( ) const

Gets or sets the library item id.

◆ libraryOptions()

QSharedPointer< LibraryOptions > Jellyfin::DTO::UpdateLibraryOptionsDto::libraryOptions ( ) const

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setJellyfinId()

void Jellyfin::DTO::UpdateLibraryOptionsDto::setJellyfinId ( QString newJellyfinId)

Gets or sets the library item id.

◆ setLibraryOptions()

void Jellyfin::DTO::UpdateLibraryOptionsDto::setLibraryOptions ( QSharedPointer< LibraryOptions > newLibraryOptions)

◆ toJson()

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

Member Data Documentation

◆ m_jellyfinId

QString Jellyfin::DTO::UpdateLibraryOptionsDto::m_jellyfinId
protected

◆ m_libraryOptions

QSharedPointer<LibraryOptions> Jellyfin::DTO::UpdateLibraryOptionsDto::m_libraryOptions = QSharedPointer<LibraryOptions>()
protected

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