30#ifndef JELLYFIN_DTO_TASKINFO_H
31#define JELLYFIN_DTO_TASKINFO_H
36#include <QSharedPointer>
71 QJsonObject
toJson()
const;
166 void setKey(QString newKey);
bool isHidden() const
Gets or sets a value indicating whether this instance is hidden.
Definition taskinfo.cpp:229
bool nameNull() const
Definition taskinfo.cpp:144
void setLastExecutionResult(QSharedPointer< TaskResult > newLastExecutionResult)
Definition taskinfo.cpp:186
QSharedPointer< TaskResult > m_lastExecutionResult
Definition taskinfo.h:176
TaskState state() const
Definition taskinfo.cpp:152
static TaskInfo fromJson(QJsonObject source)
Definition taskinfo.cpp:74
void replaceData(TaskInfo &other)
Definition taskinfo.cpp:61
std::optional< double > m_currentProgressPercentage
Definition taskinfo.h:174
QString m_description
Definition taskinfo.h:178
QString jellyfinId() const
Gets or sets the id.
Definition taskinfo.cpp:171
void setJellyfinId(QString newJellyfinId)
Gets or sets the id.
Definition taskinfo.cpp:173
QSharedPointer< TaskResult > lastExecutionResult() const
Definition taskinfo.cpp:184
bool categoryNull() const
Definition taskinfo.cpp:221
QString m_category
Definition taskinfo.h:179
void setDescription(QString newDescription)
Gets or sets the description.
Definition taskinfo.cpp:205
void setCategoryNull()
Definition taskinfo.cpp:225
QString key() const
Gets or sets the key.
Definition taskinfo.cpp:235
bool triggersNull() const
Definition taskinfo.cpp:195
void setCurrentProgressPercentage(std::optional< double > newCurrentProgressPercentage)
Gets or sets the progress.
Definition taskinfo.cpp:160
QList< TaskTriggerInfo > m_triggers
Definition taskinfo.h:177
TaskState m_state
Definition taskinfo.h:173
void setKeyNull()
Definition taskinfo.cpp:244
void setDescriptionNull()
Definition taskinfo.cpp:212
void setTriggers(QList< TaskTriggerInfo > newTriggers)
Gets or sets the triggers.
Definition taskinfo.cpp:192
void setState(TaskState newState)
Definition taskinfo.cpp:154
bool m_isHidden
Definition taskinfo.h:180
QString description() const
Gets or sets the description.
Definition taskinfo.cpp:203
void setFromJson(QJsonObject source)
Definition taskinfo.cpp:81
void setIsHidden(bool newIsHidden)
Gets or sets a value indicating whether this instance is hidden.
Definition taskinfo.cpp:231
QString name() const
Gets or sets the name.
Definition taskinfo.cpp:139
void setName(QString newName)
Gets or sets the name.
Definition taskinfo.cpp:141
QList< TaskTriggerInfo > triggers() const
Gets or sets the triggers.
Definition taskinfo.cpp:190
void setNameNull()
Definition taskinfo.cpp:148
void setCurrentProgressPercentageNull()
Definition taskinfo.cpp:167
QString m_name
Definition taskinfo.h:172
QString m_jellyfinId
Definition taskinfo.h:175
QString category() const
Gets or sets the category.
Definition taskinfo.cpp:216
void setKey(QString newKey)
Gets or sets the key.
Definition taskinfo.cpp:237
void setCategory(QString newCategory)
Gets or sets the category.
Definition taskinfo.cpp:218
void setTriggersNull()
Definition taskinfo.cpp:199
void setJellyfinIdNull()
Definition taskinfo.cpp:180
bool jellyfinIdNull() const
Definition taskinfo.cpp:176
QString m_key
Definition taskinfo.h:181
QJsonObject toJson() const
Definition taskinfo.cpp:95
bool keyNull() const
Definition taskinfo.cpp:240
bool descriptionNull() const
Definition taskinfo.cpp:208
std::optional< double > currentProgressPercentage() const
Gets or sets the progress.
Definition taskinfo.cpp:158
bool currentProgressPercentageNull() const
Definition taskinfo.cpp:163
Value
Definition taskstate.h:49
Definition mediaplayer2.h:20
AccessSchedule fromJsonValue(const QJsonValue &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:133
QJsonValue toJsonValue(const AccessSchedule &source, convertType< AccessSchedule >)
Definition accessschedule.cpp:139
Definition jsonconvimpl.h:45