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

#include <chapterinfo.h>

Public Member Functions

 ChapterInfo (qint64 startPositionTicks, QDateTime imageDateModified)
 
 ChapterInfo (const ChapterInfo &other)
 
void replaceData (ChapterInfo &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
qint64 startPositionTicks () const
 Gets or sets the start position ticks.
 
void setStartPositionTicks (qint64 newStartPositionTicks)
 Gets or sets the start position ticks.
 
QString name () const
 Gets or sets the name.
 
void setName (QString newName)
 Gets or sets the name.
 
bool nameNull () const
 
void setNameNull ()
 
QString imagePath () const
 Gets or sets the image path.
 
void setImagePath (QString newImagePath)
 Gets or sets the image path.
 
bool imagePathNull () const
 
void setImagePathNull ()
 
QDateTime imageDateModified () const
 
void setImageDateModified (QDateTime newImageDateModified)
 
QString imageTag () const
 
void setImageTag (QString newImageTag)
 
bool imageTagNull () const
 
void setImageTagNull ()
 

Static Public Member Functions

static ChapterInfo fromJson (QJsonObject source)
 

Protected Attributes

qint64 m_startPositionTicks
 
QString m_name
 
QString m_imagePath
 
QDateTime m_imageDateModified
 
QString m_imageTag
 

Constructor & Destructor Documentation

◆ ChapterInfo() [1/2]

Jellyfin::DTO::ChapterInfo::ChapterInfo ( qint64 startPositionTicks,
QDateTime imageDateModified )

◆ ChapterInfo() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ imageDateModified()

QDateTime Jellyfin::DTO::ChapterInfo::imageDateModified ( ) const

◆ imagePath()

QString Jellyfin::DTO::ChapterInfo::imagePath ( ) const

Gets or sets the image path.

◆ imagePathNull()

bool Jellyfin::DTO::ChapterInfo::imagePathNull ( ) const

◆ imageTag()

QString Jellyfin::DTO::ChapterInfo::imageTag ( ) const

◆ imageTagNull()

bool Jellyfin::DTO::ChapterInfo::imageTagNull ( ) const

◆ name()

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

Gets or sets the name.

◆ nameNull()

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

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setImageDateModified()

void Jellyfin::DTO::ChapterInfo::setImageDateModified ( QDateTime newImageDateModified)

◆ setImagePath()

void Jellyfin::DTO::ChapterInfo::setImagePath ( QString newImagePath)

Gets or sets the image path.

◆ setImagePathNull()

void Jellyfin::DTO::ChapterInfo::setImagePathNull ( )

◆ setImageTag()

void Jellyfin::DTO::ChapterInfo::setImageTag ( QString newImageTag)

◆ setImageTagNull()

void Jellyfin::DTO::ChapterInfo::setImageTagNull ( )

◆ setName()

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

Gets or sets the name.

◆ setNameNull()

void Jellyfin::DTO::ChapterInfo::setNameNull ( )

◆ setStartPositionTicks()

void Jellyfin::DTO::ChapterInfo::setStartPositionTicks ( qint64 newStartPositionTicks)

Gets or sets the start position ticks.

◆ startPositionTicks()

qint64 Jellyfin::DTO::ChapterInfo::startPositionTicks ( ) const

Gets or sets the start position ticks.

◆ toJson()

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

Member Data Documentation

◆ m_imageDateModified

QDateTime Jellyfin::DTO::ChapterInfo::m_imageDateModified
protected

◆ m_imagePath

QString Jellyfin::DTO::ChapterInfo::m_imagePath
protected

◆ m_imageTag

QString Jellyfin::DTO::ChapterInfo::m_imageTag
protected

◆ m_name

QString Jellyfin::DTO::ChapterInfo::m_name
protected

◆ m_startPositionTicks

qint64 Jellyfin::DTO::ChapterInfo::m_startPositionTicks
protected

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