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 ()
 
 MediaPathInfo (const MediaPathInfo &other)
 
void replaceData (MediaPathInfo &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString path () const
 
void setPath (QString newPath)
 
bool pathNull () const
 
void setPathNull ()
 
QString networkPath () const
 
void setNetworkPath (QString newNetworkPath)
 
bool networkPathNull () const
 
void setNetworkPathNull ()
 

Static Public Member Functions

static MediaPathInfo fromJson (QJsonObject source)
 

Protected Attributes

QString m_path
 
QString m_networkPath
 

Constructor & Destructor Documentation

◆ MediaPathInfo() [1/2]

Jellyfin::DTO::MediaPathInfo::MediaPathInfo ( )

◆ MediaPathInfo() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ networkPath()

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

◆ networkPathNull()

bool Jellyfin::DTO::MediaPathInfo::networkPathNull ( ) const

◆ path()

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

◆ pathNull()

bool Jellyfin::DTO::MediaPathInfo::pathNull ( ) 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)

◆ setNetworkPath()

void Jellyfin::DTO::MediaPathInfo::setNetworkPath ( QString newNetworkPath)

◆ setNetworkPathNull()

void Jellyfin::DTO::MediaPathInfo::setNetworkPathNull ( )

◆ setPath()

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

◆ setPathNull()

void Jellyfin::DTO::MediaPathInfo::setPathNull ( )

◆ toJson()

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

Member Data Documentation

◆ m_networkPath

QString Jellyfin::DTO::MediaPathInfo::m_networkPath
protected

◆ m_path

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

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