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

#include <tasktriggerinfo.h>

Public Member Functions

 TaskTriggerInfo (DayOfWeek dayOfWeek)
 
 TaskTriggerInfo (const TaskTriggerInfo &other)
 
void replaceData (TaskTriggerInfo &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString type () const
 Gets or sets the type.
 
void setType (QString newType)
 Gets or sets the type.
 
bool typeNull () const
 
void setTypeNull ()
 
std::optional< qint64 > timeOfDayTicks () const
 Gets or sets the time of day.
 
void setTimeOfDayTicks (std::optional< qint64 > newTimeOfDayTicks)
 Gets or sets the time of day.
 
bool timeOfDayTicksNull () const
 
void setTimeOfDayTicksNull ()
 
std::optional< qint64 > intervalTicks () const
 Gets or sets the interval.
 
void setIntervalTicks (std::optional< qint64 > newIntervalTicks)
 Gets or sets the interval.
 
bool intervalTicksNull () const
 
void setIntervalTicksNull ()
 
DayOfWeek dayOfWeek () const
 
void setDayOfWeek (DayOfWeek newDayOfWeek)
 
std::optional< qint64 > maxRuntimeTicks () const
 Gets or sets the maximum runtime ticks.
 
void setMaxRuntimeTicks (std::optional< qint64 > newMaxRuntimeTicks)
 Gets or sets the maximum runtime ticks.
 
bool maxRuntimeTicksNull () const
 
void setMaxRuntimeTicksNull ()
 

Static Public Member Functions

static TaskTriggerInfo fromJson (QJsonObject source)
 

Protected Attributes

QString m_type
 
std::optional< qint64 > m_timeOfDayTicks = std::nullopt
 
std::optional< qint64 > m_intervalTicks = std::nullopt
 
DayOfWeek m_dayOfWeek
 
std::optional< qint64 > m_maxRuntimeTicks = std::nullopt
 

Constructor & Destructor Documentation

◆ TaskTriggerInfo() [1/2]

Jellyfin::DTO::TaskTriggerInfo::TaskTriggerInfo ( DayOfWeek dayOfWeek)

◆ TaskTriggerInfo() [2/2]

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

Member Function Documentation

◆ dayOfWeek()

DayOfWeek Jellyfin::DTO::TaskTriggerInfo::dayOfWeek ( ) const

◆ fromJson()

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

◆ intervalTicks()

std::optional< qint64 > Jellyfin::DTO::TaskTriggerInfo::intervalTicks ( ) const

Gets or sets the interval.

◆ intervalTicksNull()

bool Jellyfin::DTO::TaskTriggerInfo::intervalTicksNull ( ) const

◆ maxRuntimeTicks()

std::optional< qint64 > Jellyfin::DTO::TaskTriggerInfo::maxRuntimeTicks ( ) const

Gets or sets the maximum runtime ticks.

◆ maxRuntimeTicksNull()

bool Jellyfin::DTO::TaskTriggerInfo::maxRuntimeTicksNull ( ) const

◆ replaceData()

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

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

◆ setDayOfWeek()

void Jellyfin::DTO::TaskTriggerInfo::setDayOfWeek ( DayOfWeek newDayOfWeek)

◆ setFromJson()

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

◆ setIntervalTicks()

void Jellyfin::DTO::TaskTriggerInfo::setIntervalTicks ( std::optional< qint64 > newIntervalTicks)

Gets or sets the interval.

◆ setIntervalTicksNull()

void Jellyfin::DTO::TaskTriggerInfo::setIntervalTicksNull ( )

◆ setMaxRuntimeTicks()

void Jellyfin::DTO::TaskTriggerInfo::setMaxRuntimeTicks ( std::optional< qint64 > newMaxRuntimeTicks)

Gets or sets the maximum runtime ticks.

◆ setMaxRuntimeTicksNull()

void Jellyfin::DTO::TaskTriggerInfo::setMaxRuntimeTicksNull ( )

◆ setTimeOfDayTicks()

void Jellyfin::DTO::TaskTriggerInfo::setTimeOfDayTicks ( std::optional< qint64 > newTimeOfDayTicks)

Gets or sets the time of day.

◆ setTimeOfDayTicksNull()

void Jellyfin::DTO::TaskTriggerInfo::setTimeOfDayTicksNull ( )

◆ setType()

void Jellyfin::DTO::TaskTriggerInfo::setType ( QString newType)

Gets or sets the type.

◆ setTypeNull()

void Jellyfin::DTO::TaskTriggerInfo::setTypeNull ( )

◆ timeOfDayTicks()

std::optional< qint64 > Jellyfin::DTO::TaskTriggerInfo::timeOfDayTicks ( ) const

Gets or sets the time of day.

◆ timeOfDayTicksNull()

bool Jellyfin::DTO::TaskTriggerInfo::timeOfDayTicksNull ( ) const

◆ toJson()

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

◆ type()

QString Jellyfin::DTO::TaskTriggerInfo::type ( ) const

Gets or sets the type.

◆ typeNull()

bool Jellyfin::DTO::TaskTriggerInfo::typeNull ( ) const

Member Data Documentation

◆ m_dayOfWeek

DayOfWeek Jellyfin::DTO::TaskTriggerInfo::m_dayOfWeek
protected

◆ m_intervalTicks

std::optional<qint64> Jellyfin::DTO::TaskTriggerInfo::m_intervalTicks = std::nullopt
protected

◆ m_maxRuntimeTicks

std::optional<qint64> Jellyfin::DTO::TaskTriggerInfo::m_maxRuntimeTicks = std::nullopt
protected

◆ m_timeOfDayTicks

std::optional<qint64> Jellyfin::DTO::TaskTriggerInfo::m_timeOfDayTicks = std::nullopt
protected

◆ m_type

QString Jellyfin::DTO::TaskTriggerInfo::m_type
protected

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