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

#include <mediapathinfo.h>

Public Member Functions

 MediaPathInfo (QString path)
 MediaPathInfo (const MediaPathInfo &other)
void replaceData (MediaPathInfo &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
QString path () const
void setPath (QString newPath)

Static Public Member Functions

static MediaPathInfo fromJson (QJsonObject source)

Protected Attributes

QString m_path

Constructor & Destructor Documentation

◆ MediaPathInfo() [1/2]

Jellyfin::DTO::MediaPathInfo::MediaPathInfo ( QString path)

◆ MediaPathInfo() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ path()

QString Jellyfin::DTO::MediaPathInfo::path ( ) const

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setPath()

void Jellyfin::DTO::MediaPathInfo::setPath ( QString newPath)

◆ toJson()

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

Member Data Documentation

◆ m_path

QString Jellyfin::DTO::MediaPathInfo::m_path
protected

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