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

#include <filesystementryinfo.h>

Public Member Functions

 FileSystemEntryInfo (QString name, QString path, FileSystemEntryType type)
 FileSystemEntryInfo (const FileSystemEntryInfo &other)
void replaceData (FileSystemEntryInfo &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
QString name () const
 Gets the name.
void setName (QString newName)
 Gets the name.
QString path () const
 Gets the path.
void setPath (QString newPath)
 Gets the path.
FileSystemEntryType type () const
void setType (FileSystemEntryType newType)

Static Public Member Functions

static FileSystemEntryInfo fromJson (QJsonObject source)

Protected Attributes

QString m_name
QString m_path
FileSystemEntryType m_type

Constructor & Destructor Documentation

◆ FileSystemEntryInfo() [1/2]

Jellyfin::DTO::FileSystemEntryInfo::FileSystemEntryInfo ( QString name,
QString path,
FileSystemEntryType type )

◆ FileSystemEntryInfo() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ name()

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

Gets the name.

◆ path()

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

Gets the path.

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setName()

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

Gets the name.

◆ setPath()

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

Gets the path.

◆ setType()

void Jellyfin::DTO::FileSystemEntryInfo::setType ( FileSystemEntryType newType)

◆ toJson()

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

◆ type()

FileSystemEntryType Jellyfin::DTO::FileSystemEntryInfo::type ( ) const

Member Data Documentation

◆ m_name

QString Jellyfin::DTO::FileSystemEntryInfo::m_name
protected

◆ m_path

QString Jellyfin::DTO::FileSystemEntryInfo::m_path
protected

◆ m_type

FileSystemEntryType Jellyfin::DTO::FileSystemEntryInfo::m_type
protected

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