Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
|
#include <timerinfodto.h>
Public Member Functions | |
TimerInfoDto (QString channelId, QDateTime startDate, QDateTime endDate, qint32 priority, qint32 prePaddingSeconds, qint32 postPaddingSeconds, bool isPrePaddingRequired, bool isPostPaddingRequired, KeepUntil keepUntil, RecordingStatus status, QSharedPointer< BaseItemDto > programInfo) | |
TimerInfoDto (const TimerInfoDto &other) | |
void | replaceData (TimerInfoDto &other) |
void | setFromJson (QJsonObject source) |
QJsonObject | toJson () const |
QString | jellyfinId () const |
Id of the recording. | |
void | setJellyfinId (QString newJellyfinId) |
Id of the recording. | |
bool | jellyfinIdNull () const |
void | setJellyfinIdNull () |
QString | type () const |
void | setType (QString newType) |
bool | typeNull () const |
void | setTypeNull () |
QString | serverId () const |
Gets or sets the server identifier. | |
void | setServerId (QString newServerId) |
Gets or sets the server identifier. | |
bool | serverIdNull () const |
void | setServerIdNull () |
QString | externalId () const |
Gets or sets the external identifier. | |
void | setExternalId (QString newExternalId) |
Gets or sets the external identifier. | |
bool | externalIdNull () const |
void | setExternalIdNull () |
QString | channelId () const |
ChannelId of the recording. | |
void | setChannelId (QString newChannelId) |
ChannelId of the recording. | |
QString | externalChannelId () const |
Gets or sets the external channel identifier. | |
void | setExternalChannelId (QString newExternalChannelId) |
Gets or sets the external channel identifier. | |
bool | externalChannelIdNull () const |
void | setExternalChannelIdNull () |
QString | channelName () const |
ChannelName of the recording. | |
void | setChannelName (QString newChannelName) |
ChannelName of the recording. | |
bool | channelNameNull () const |
void | setChannelNameNull () |
QString | channelPrimaryImageTag () const |
void | setChannelPrimaryImageTag (QString newChannelPrimaryImageTag) |
bool | channelPrimaryImageTagNull () const |
void | setChannelPrimaryImageTagNull () |
QString | programId () const |
Gets or sets the program identifier. | |
void | setProgramId (QString newProgramId) |
Gets or sets the program identifier. | |
bool | programIdNull () const |
void | setProgramIdNull () |
QString | externalProgramId () const |
Gets or sets the external program identifier. | |
void | setExternalProgramId (QString newExternalProgramId) |
Gets or sets the external program identifier. | |
bool | externalProgramIdNull () const |
void | setExternalProgramIdNull () |
QString | name () const |
Name of the recording. | |
void | setName (QString newName) |
Name of the recording. | |
bool | nameNull () const |
void | setNameNull () |
QString | overview () const |
Description of the recording. | |
void | setOverview (QString newOverview) |
Description of the recording. | |
bool | overviewNull () const |
void | setOverviewNull () |
QDateTime | startDate () const |
The start date of the recording, in UTC. | |
void | setStartDate (QDateTime newStartDate) |
The start date of the recording, in UTC. | |
QDateTime | endDate () const |
The end date of the recording, in UTC. | |
void | setEndDate (QDateTime newEndDate) |
The end date of the recording, in UTC. | |
QString | serviceName () const |
Gets or sets the name of the service. | |
void | setServiceName (QString newServiceName) |
Gets or sets the name of the service. | |
bool | serviceNameNull () const |
void | setServiceNameNull () |
qint32 | priority () const |
Gets or sets the priority. | |
void | setPriority (qint32 newPriority) |
Gets or sets the priority. | |
qint32 | prePaddingSeconds () const |
Gets or sets the pre padding seconds. | |
void | setPrePaddingSeconds (qint32 newPrePaddingSeconds) |
Gets or sets the pre padding seconds. | |
qint32 | postPaddingSeconds () const |
Gets or sets the post padding seconds. | |
void | setPostPaddingSeconds (qint32 newPostPaddingSeconds) |
Gets or sets the post padding seconds. | |
bool | isPrePaddingRequired () const |
Gets or sets a value indicating whether this instance is pre padding required. | |
void | setIsPrePaddingRequired (bool newIsPrePaddingRequired) |
Gets or sets a value indicating whether this instance is pre padding required. | |
QString | parentBackdropItemId () const |
If the item does not have any backdrops, this will hold the Id of the Parent that has one. | |
void | setParentBackdropItemId (QString newParentBackdropItemId) |
If the item does not have any backdrops, this will hold the Id of the Parent that has one. | |
bool | parentBackdropItemIdNull () const |
void | setParentBackdropItemIdNull () |
QStringList | parentBackdropImageTags () const |
Gets or sets the parent backdrop image tags. | |
void | setParentBackdropImageTags (QStringList newParentBackdropImageTags) |
Gets or sets the parent backdrop image tags. | |
bool | parentBackdropImageTagsNull () const |
void | setParentBackdropImageTagsNull () |
bool | isPostPaddingRequired () const |
Gets or sets a value indicating whether this instance is post padding required. | |
void | setIsPostPaddingRequired (bool newIsPostPaddingRequired) |
Gets or sets a value indicating whether this instance is post padding required. | |
KeepUntil | keepUntil () const |
void | setKeepUntil (KeepUntil newKeepUntil) |
RecordingStatus | status () const |
void | setStatus (RecordingStatus newStatus) |
QString | seriesTimerId () const |
Gets or sets the series timer identifier. | |
void | setSeriesTimerId (QString newSeriesTimerId) |
Gets or sets the series timer identifier. | |
bool | seriesTimerIdNull () const |
void | setSeriesTimerIdNull () |
QString | externalSeriesTimerId () const |
Gets or sets the external series timer identifier. | |
void | setExternalSeriesTimerId (QString newExternalSeriesTimerId) |
Gets or sets the external series timer identifier. | |
bool | externalSeriesTimerIdNull () const |
void | setExternalSeriesTimerIdNull () |
std::optional< qint64 > | runTimeTicks () const |
Gets or sets the run time ticks. | |
void | setRunTimeTicks (std::optional< qint64 > newRunTimeTicks) |
Gets or sets the run time ticks. | |
bool | runTimeTicksNull () const |
void | setRunTimeTicksNull () |
QSharedPointer< BaseItemDto > | programInfo () const |
void | setProgramInfo (QSharedPointer< BaseItemDto > newProgramInfo) |
Static Public Member Functions | |
static TimerInfoDto | fromJson (QJsonObject source) |
Protected Attributes | |
QString | m_jellyfinId |
QString | m_type |
QString | m_serverId |
QString | m_externalId |
QString | m_channelId |
QString | m_externalChannelId |
QString | m_channelName |
QString | m_channelPrimaryImageTag |
QString | m_programId |
QString | m_externalProgramId |
QString | m_name |
QString | m_overview |
QDateTime | m_startDate |
QDateTime | m_endDate |
QString | m_serviceName |
qint32 | m_priority |
qint32 | m_prePaddingSeconds |
qint32 | m_postPaddingSeconds |
bool | m_isPrePaddingRequired |
QString | m_parentBackdropItemId |
QStringList | m_parentBackdropImageTags |
bool | m_isPostPaddingRequired |
KeepUntil | m_keepUntil |
RecordingStatus | m_status |
QString | m_seriesTimerId |
QString | m_externalSeriesTimerId |
std::optional< qint64 > | m_runTimeTicks = std::nullopt |
QSharedPointer< BaseItemDto > | m_programInfo = QSharedPointer<BaseItemDto>() |
Jellyfin::DTO::TimerInfoDto::TimerInfoDto | ( | QString | channelId, |
QDateTime | startDate, | ||
QDateTime | endDate, | ||
qint32 | priority, | ||
qint32 | prePaddingSeconds, | ||
qint32 | postPaddingSeconds, | ||
bool | isPrePaddingRequired, | ||
bool | isPostPaddingRequired, | ||
KeepUntil | keepUntil, | ||
RecordingStatus | status, | ||
QSharedPointer< BaseItemDto > | programInfo ) |
Jellyfin::DTO::TimerInfoDto::TimerInfoDto | ( | const TimerInfoDto & | other | ) |
QString Jellyfin::DTO::TimerInfoDto::channelId | ( | ) | const |
ChannelId of the recording.
QString Jellyfin::DTO::TimerInfoDto::channelName | ( | ) | const |
ChannelName of the recording.
bool Jellyfin::DTO::TimerInfoDto::channelNameNull | ( | ) | const |
QString Jellyfin::DTO::TimerInfoDto::channelPrimaryImageTag | ( | ) | const |
bool Jellyfin::DTO::TimerInfoDto::channelPrimaryImageTagNull | ( | ) | const |
QDateTime Jellyfin::DTO::TimerInfoDto::endDate | ( | ) | const |
The end date of the recording, in UTC.
QString Jellyfin::DTO::TimerInfoDto::externalChannelId | ( | ) | const |
Gets or sets the external channel identifier.
bool Jellyfin::DTO::TimerInfoDto::externalChannelIdNull | ( | ) | const |
QString Jellyfin::DTO::TimerInfoDto::externalId | ( | ) | const |
Gets or sets the external identifier.
bool Jellyfin::DTO::TimerInfoDto::externalIdNull | ( | ) | const |
QString Jellyfin::DTO::TimerInfoDto::externalProgramId | ( | ) | const |
Gets or sets the external program identifier.
bool Jellyfin::DTO::TimerInfoDto::externalProgramIdNull | ( | ) | const |
QString Jellyfin::DTO::TimerInfoDto::externalSeriesTimerId | ( | ) | const |
Gets or sets the external series timer identifier.
bool Jellyfin::DTO::TimerInfoDto::externalSeriesTimerIdNull | ( | ) | const |
|
static |
bool Jellyfin::DTO::TimerInfoDto::isPostPaddingRequired | ( | ) | const |
Gets or sets a value indicating whether this instance is post padding required.
bool Jellyfin::DTO::TimerInfoDto::isPrePaddingRequired | ( | ) | const |
Gets or sets a value indicating whether this instance is pre padding required.
QString Jellyfin::DTO::TimerInfoDto::jellyfinId | ( | ) | const |
Id of the recording.
bool Jellyfin::DTO::TimerInfoDto::jellyfinIdNull | ( | ) | const |
KeepUntil Jellyfin::DTO::TimerInfoDto::keepUntil | ( | ) | const |
QString Jellyfin::DTO::TimerInfoDto::name | ( | ) | const |
Name of the recording.
bool Jellyfin::DTO::TimerInfoDto::nameNull | ( | ) | const |
QString Jellyfin::DTO::TimerInfoDto::overview | ( | ) | const |
Description of the recording.
bool Jellyfin::DTO::TimerInfoDto::overviewNull | ( | ) | const |
QStringList Jellyfin::DTO::TimerInfoDto::parentBackdropImageTags | ( | ) | const |
Gets or sets the parent backdrop image tags.
bool Jellyfin::DTO::TimerInfoDto::parentBackdropImageTagsNull | ( | ) | const |
QString Jellyfin::DTO::TimerInfoDto::parentBackdropItemId | ( | ) | const |
If the item does not have any backdrops, this will hold the Id of the Parent that has one.
bool Jellyfin::DTO::TimerInfoDto::parentBackdropItemIdNull | ( | ) | const |
qint32 Jellyfin::DTO::TimerInfoDto::postPaddingSeconds | ( | ) | const |
Gets or sets the post padding seconds.
qint32 Jellyfin::DTO::TimerInfoDto::prePaddingSeconds | ( | ) | const |
Gets or sets the pre padding seconds.
qint32 Jellyfin::DTO::TimerInfoDto::priority | ( | ) | const |
Gets or sets the priority.
QString Jellyfin::DTO::TimerInfoDto::programId | ( | ) | const |
Gets or sets the program identifier.
bool Jellyfin::DTO::TimerInfoDto::programIdNull | ( | ) | const |
QSharedPointer< BaseItemDto > Jellyfin::DTO::TimerInfoDto::programInfo | ( | ) | const |
void Jellyfin::DTO::TimerInfoDto::replaceData | ( | TimerInfoDto & | other | ) |
Replaces the data being hold by this class with that of the other.
std::optional< qint64 > Jellyfin::DTO::TimerInfoDto::runTimeTicks | ( | ) | const |
Gets or sets the run time ticks.
bool Jellyfin::DTO::TimerInfoDto::runTimeTicksNull | ( | ) | const |
QString Jellyfin::DTO::TimerInfoDto::seriesTimerId | ( | ) | const |
Gets or sets the series timer identifier.
bool Jellyfin::DTO::TimerInfoDto::seriesTimerIdNull | ( | ) | const |
QString Jellyfin::DTO::TimerInfoDto::serverId | ( | ) | const |
Gets or sets the server identifier.
bool Jellyfin::DTO::TimerInfoDto::serverIdNull | ( | ) | const |
QString Jellyfin::DTO::TimerInfoDto::serviceName | ( | ) | const |
Gets or sets the name of the service.
bool Jellyfin::DTO::TimerInfoDto::serviceNameNull | ( | ) | const |
void Jellyfin::DTO::TimerInfoDto::setChannelId | ( | QString | newChannelId | ) |
ChannelId of the recording.
void Jellyfin::DTO::TimerInfoDto::setChannelName | ( | QString | newChannelName | ) |
ChannelName of the recording.
void Jellyfin::DTO::TimerInfoDto::setChannelNameNull | ( | ) |
void Jellyfin::DTO::TimerInfoDto::setChannelPrimaryImageTag | ( | QString | newChannelPrimaryImageTag | ) |
void Jellyfin::DTO::TimerInfoDto::setChannelPrimaryImageTagNull | ( | ) |
void Jellyfin::DTO::TimerInfoDto::setEndDate | ( | QDateTime | newEndDate | ) |
The end date of the recording, in UTC.
void Jellyfin::DTO::TimerInfoDto::setExternalChannelId | ( | QString | newExternalChannelId | ) |
Gets or sets the external channel identifier.
void Jellyfin::DTO::TimerInfoDto::setExternalChannelIdNull | ( | ) |
void Jellyfin::DTO::TimerInfoDto::setExternalId | ( | QString | newExternalId | ) |
Gets or sets the external identifier.
void Jellyfin::DTO::TimerInfoDto::setExternalIdNull | ( | ) |
void Jellyfin::DTO::TimerInfoDto::setExternalProgramId | ( | QString | newExternalProgramId | ) |
Gets or sets the external program identifier.
void Jellyfin::DTO::TimerInfoDto::setExternalProgramIdNull | ( | ) |
void Jellyfin::DTO::TimerInfoDto::setExternalSeriesTimerId | ( | QString | newExternalSeriesTimerId | ) |
Gets or sets the external series timer identifier.
void Jellyfin::DTO::TimerInfoDto::setExternalSeriesTimerIdNull | ( | ) |
void Jellyfin::DTO::TimerInfoDto::setFromJson | ( | QJsonObject | source | ) |
void Jellyfin::DTO::TimerInfoDto::setIsPostPaddingRequired | ( | bool | newIsPostPaddingRequired | ) |
Gets or sets a value indicating whether this instance is post padding required.
void Jellyfin::DTO::TimerInfoDto::setIsPrePaddingRequired | ( | bool | newIsPrePaddingRequired | ) |
Gets or sets a value indicating whether this instance is pre padding required.
void Jellyfin::DTO::TimerInfoDto::setJellyfinId | ( | QString | newJellyfinId | ) |
Id of the recording.
void Jellyfin::DTO::TimerInfoDto::setJellyfinIdNull | ( | ) |
void Jellyfin::DTO::TimerInfoDto::setKeepUntil | ( | KeepUntil | newKeepUntil | ) |
void Jellyfin::DTO::TimerInfoDto::setName | ( | QString | newName | ) |
Name of the recording.
void Jellyfin::DTO::TimerInfoDto::setNameNull | ( | ) |
void Jellyfin::DTO::TimerInfoDto::setOverview | ( | QString | newOverview | ) |
Description of the recording.
void Jellyfin::DTO::TimerInfoDto::setOverviewNull | ( | ) |
void Jellyfin::DTO::TimerInfoDto::setParentBackdropImageTags | ( | QStringList | newParentBackdropImageTags | ) |
Gets or sets the parent backdrop image tags.
void Jellyfin::DTO::TimerInfoDto::setParentBackdropImageTagsNull | ( | ) |
void Jellyfin::DTO::TimerInfoDto::setParentBackdropItemId | ( | QString | newParentBackdropItemId | ) |
If the item does not have any backdrops, this will hold the Id of the Parent that has one.
void Jellyfin::DTO::TimerInfoDto::setParentBackdropItemIdNull | ( | ) |
void Jellyfin::DTO::TimerInfoDto::setPostPaddingSeconds | ( | qint32 | newPostPaddingSeconds | ) |
Gets or sets the post padding seconds.
void Jellyfin::DTO::TimerInfoDto::setPrePaddingSeconds | ( | qint32 | newPrePaddingSeconds | ) |
Gets or sets the pre padding seconds.
void Jellyfin::DTO::TimerInfoDto::setPriority | ( | qint32 | newPriority | ) |
Gets or sets the priority.
void Jellyfin::DTO::TimerInfoDto::setProgramId | ( | QString | newProgramId | ) |
Gets or sets the program identifier.
void Jellyfin::DTO::TimerInfoDto::setProgramIdNull | ( | ) |
void Jellyfin::DTO::TimerInfoDto::setProgramInfo | ( | QSharedPointer< BaseItemDto > | newProgramInfo | ) |
void Jellyfin::DTO::TimerInfoDto::setRunTimeTicks | ( | std::optional< qint64 > | newRunTimeTicks | ) |
Gets or sets the run time ticks.
void Jellyfin::DTO::TimerInfoDto::setRunTimeTicksNull | ( | ) |
void Jellyfin::DTO::TimerInfoDto::setSeriesTimerId | ( | QString | newSeriesTimerId | ) |
Gets or sets the series timer identifier.
void Jellyfin::DTO::TimerInfoDto::setSeriesTimerIdNull | ( | ) |
void Jellyfin::DTO::TimerInfoDto::setServerId | ( | QString | newServerId | ) |
Gets or sets the server identifier.
void Jellyfin::DTO::TimerInfoDto::setServerIdNull | ( | ) |
void Jellyfin::DTO::TimerInfoDto::setServiceName | ( | QString | newServiceName | ) |
Gets or sets the name of the service.
void Jellyfin::DTO::TimerInfoDto::setServiceNameNull | ( | ) |
void Jellyfin::DTO::TimerInfoDto::setStartDate | ( | QDateTime | newStartDate | ) |
The start date of the recording, in UTC.
void Jellyfin::DTO::TimerInfoDto::setStatus | ( | RecordingStatus | newStatus | ) |
void Jellyfin::DTO::TimerInfoDto::setType | ( | QString | newType | ) |
void Jellyfin::DTO::TimerInfoDto::setTypeNull | ( | ) |
QDateTime Jellyfin::DTO::TimerInfoDto::startDate | ( | ) | const |
The start date of the recording, in UTC.
RecordingStatus Jellyfin::DTO::TimerInfoDto::status | ( | ) | const |
QJsonObject Jellyfin::DTO::TimerInfoDto::toJson | ( | ) | const |
QString Jellyfin::DTO::TimerInfoDto::type | ( | ) | const |
bool Jellyfin::DTO::TimerInfoDto::typeNull | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |