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 (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.
 
bool nameNull () const
 
void setNameNull ()
 
QString path () const
 Gets the path.
 
void setPath (QString newPath)
 Gets the path.
 
bool pathNull () const
 
void setPathNull ()
 
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 ( 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.

◆ nameNull()

bool Jellyfin::DTO::FileSystemEntryInfo::nameNull ( ) const

◆ path()

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

Gets the path.

◆ pathNull()

bool Jellyfin::DTO::FileSystemEntryInfo::pathNull ( ) const

◆ 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.

◆ setNameNull()

void Jellyfin::DTO::FileSystemEntryInfo::setNameNull ( )

◆ setPath()

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

Gets the path.

◆ setPathNull()

void Jellyfin::DTO::FileSystemEntryInfo::setPathNull ( )

◆ 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: