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

#include <updatemediapathrequestdto.h>

Public Member Functions

 UpdateMediaPathRequestDto (QString name, QSharedPointer< MediaPathInfo > pathInfo)
 UpdateMediaPathRequestDto (const UpdateMediaPathRequestDto &other)
void replaceData (UpdateMediaPathRequestDto &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
QString name () const
 Gets or sets the library name.
void setName (QString newName)
 Gets or sets the library name.
QSharedPointer< MediaPathInfopathInfo () const
void setPathInfo (QSharedPointer< MediaPathInfo > newPathInfo)

Static Public Member Functions

static UpdateMediaPathRequestDto fromJson (QJsonObject source)

Protected Attributes

QString m_name
QSharedPointer< MediaPathInfom_pathInfo = QSharedPointer<MediaPathInfo>()

Constructor & Destructor Documentation

◆ UpdateMediaPathRequestDto() [1/2]

Jellyfin::DTO::UpdateMediaPathRequestDto::UpdateMediaPathRequestDto ( QString name,
QSharedPointer< MediaPathInfo > pathInfo )

◆ UpdateMediaPathRequestDto() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ name()

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

Gets or sets the library name.

◆ pathInfo()

QSharedPointer< MediaPathInfo > Jellyfin::DTO::UpdateMediaPathRequestDto::pathInfo ( ) const

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setName()

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

Gets or sets the library name.

◆ setPathInfo()

void Jellyfin::DTO::UpdateMediaPathRequestDto::setPathInfo ( QSharedPointer< MediaPathInfo > newPathInfo)

◆ toJson()

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

Member Data Documentation

◆ m_name

QString Jellyfin::DTO::UpdateMediaPathRequestDto::m_name
protected

◆ m_pathInfo

QSharedPointer<MediaPathInfo> Jellyfin::DTO::UpdateMediaPathRequestDto::m_pathInfo = QSharedPointer<MediaPathInfo>()
protected

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