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

#include <logfile.h>

Public Member Functions

 LogFile (QDateTime dateCreated, QDateTime dateModified, qint64 size)
 
 LogFile (const LogFile &other)
 
void replaceData (LogFile &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QDateTime dateCreated () const
 Gets or sets the date created.
 
void setDateCreated (QDateTime newDateCreated)
 Gets or sets the date created.
 
QDateTime dateModified () const
 Gets or sets the date modified.
 
void setDateModified (QDateTime newDateModified)
 Gets or sets the date modified.
 
qint64 size () const
 Gets or sets the size.
 
void setSize (qint64 newSize)
 Gets or sets the size.
 
QString name () const
 Gets or sets the name.
 
void setName (QString newName)
 Gets or sets the name.
 
bool nameNull () const
 
void setNameNull ()
 

Static Public Member Functions

static LogFile fromJson (QJsonObject source)
 

Protected Attributes

QDateTime m_dateCreated
 
QDateTime m_dateModified
 
qint64 m_size
 
QString m_name
 

Constructor & Destructor Documentation

◆ LogFile() [1/2]

Jellyfin::DTO::LogFile::LogFile ( QDateTime dateCreated,
QDateTime dateModified,
qint64 size )

◆ LogFile() [2/2]

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

Member Function Documentation

◆ dateCreated()

QDateTime Jellyfin::DTO::LogFile::dateCreated ( ) const

Gets or sets the date created.

◆ dateModified()

QDateTime Jellyfin::DTO::LogFile::dateModified ( ) const

Gets or sets the date modified.

◆ fromJson()

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

◆ name()

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

Gets or sets the name.

◆ nameNull()

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

◆ replaceData()

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

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

◆ setDateCreated()

void Jellyfin::DTO::LogFile::setDateCreated ( QDateTime newDateCreated)

Gets or sets the date created.

◆ setDateModified()

void Jellyfin::DTO::LogFile::setDateModified ( QDateTime newDateModified)

Gets or sets the date modified.

◆ setFromJson()

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

◆ setName()

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

Gets or sets the name.

◆ setNameNull()

void Jellyfin::DTO::LogFile::setNameNull ( )

◆ setSize()

void Jellyfin::DTO::LogFile::setSize ( qint64 newSize)

Gets or sets the size.

◆ size()

qint64 Jellyfin::DTO::LogFile::size ( ) const

Gets or sets the size.

◆ toJson()

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

Member Data Documentation

◆ m_dateCreated

QDateTime Jellyfin::DTO::LogFile::m_dateCreated
protected

◆ m_dateModified

QDateTime Jellyfin::DTO::LogFile::m_dateModified
protected

◆ m_name

QString Jellyfin::DTO::LogFile::m_name
protected

◆ m_size

qint64 Jellyfin::DTO::LogFile::m_size
protected

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