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

#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
 Gets or sets the Id of the recording.
void setJellyfinId (QString newJellyfinId)
 Gets or sets the 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
 Gets or sets the channel id of the recording.
void setChannelId (QString newChannelId)
 Gets or sets the channel id 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
 Gets or sets the channel name of the recording.
void setChannelName (QString newChannelName)
 Gets or sets the channel name 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
 Gets or sets the name of the recording.
void setName (QString newName)
 Gets or sets the name of the recording.
bool nameNull () const
void setNameNull ()
QString overview () const
 Gets or sets the description of the recording.
void setOverview (QString newOverview)
 Gets or sets the description of the recording.
bool overviewNull () const
void setOverviewNull ()
QDateTime startDate () const
 Gets or sets the start date of the recording, in UTC.
void setStartDate (QDateTime newStartDate)
 Gets or sets the start date of the recording, in UTC.
QDateTime endDate () const
 Gets or sets the end date of the recording, in UTC.
void setEndDate (QDateTime newEndDate)
 Gets or sets 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
 Gets or sets the Id of the Parent that has a backdrop if the item does not have one.
void setParentBackdropItemId (QString newParentBackdropItemId)
 Gets or sets the Id of the Parent that has a backdrop if the item does not have 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< BaseItemDtoprogramInfo () 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< BaseItemDtom_programInfo = QSharedPointer<BaseItemDto>()

Constructor & Destructor Documentation

◆ TimerInfoDto() [1/2]

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 )

◆ TimerInfoDto() [2/2]

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

Member Function Documentation

◆ channelId()

QString Jellyfin::DTO::TimerInfoDto::channelId ( ) const

Gets or sets the channel id of the recording.

◆ channelName()

QString Jellyfin::DTO::TimerInfoDto::channelName ( ) const

Gets or sets the channel name of the recording.

◆ channelNameNull()

bool Jellyfin::DTO::TimerInfoDto::channelNameNull ( ) const

◆ channelPrimaryImageTag()

QString Jellyfin::DTO::TimerInfoDto::channelPrimaryImageTag ( ) const

◆ channelPrimaryImageTagNull()

bool Jellyfin::DTO::TimerInfoDto::channelPrimaryImageTagNull ( ) const

◆ endDate()

QDateTime Jellyfin::DTO::TimerInfoDto::endDate ( ) const

Gets or sets the end date of the recording, in UTC.

◆ externalChannelId()

QString Jellyfin::DTO::TimerInfoDto::externalChannelId ( ) const

Gets or sets the external channel identifier.

◆ externalChannelIdNull()

bool Jellyfin::DTO::TimerInfoDto::externalChannelIdNull ( ) const

◆ externalId()

QString Jellyfin::DTO::TimerInfoDto::externalId ( ) const

Gets or sets the external identifier.

◆ externalIdNull()

bool Jellyfin::DTO::TimerInfoDto::externalIdNull ( ) const

◆ externalProgramId()

QString Jellyfin::DTO::TimerInfoDto::externalProgramId ( ) const

Gets or sets the external program identifier.

◆ externalProgramIdNull()

bool Jellyfin::DTO::TimerInfoDto::externalProgramIdNull ( ) const

◆ externalSeriesTimerId()

QString Jellyfin::DTO::TimerInfoDto::externalSeriesTimerId ( ) const

Gets or sets the external series timer identifier.

◆ externalSeriesTimerIdNull()

bool Jellyfin::DTO::TimerInfoDto::externalSeriesTimerIdNull ( ) const

◆ fromJson()

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

◆ isPostPaddingRequired()

bool Jellyfin::DTO::TimerInfoDto::isPostPaddingRequired ( ) const

Gets or sets a value indicating whether this instance is post padding required.

◆ isPrePaddingRequired()

bool Jellyfin::DTO::TimerInfoDto::isPrePaddingRequired ( ) const

Gets or sets a value indicating whether this instance is pre padding required.

◆ jellyfinId()

QString Jellyfin::DTO::TimerInfoDto::jellyfinId ( ) const

Gets or sets the Id of the recording.

◆ jellyfinIdNull()

bool Jellyfin::DTO::TimerInfoDto::jellyfinIdNull ( ) const

◆ keepUntil()

KeepUntil Jellyfin::DTO::TimerInfoDto::keepUntil ( ) const

◆ name()

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

Gets or sets the name of the recording.

◆ nameNull()

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

◆ overview()

QString Jellyfin::DTO::TimerInfoDto::overview ( ) const

Gets or sets the description of the recording.

◆ overviewNull()

bool Jellyfin::DTO::TimerInfoDto::overviewNull ( ) const

◆ parentBackdropImageTags()

QStringList Jellyfin::DTO::TimerInfoDto::parentBackdropImageTags ( ) const

Gets or sets the parent backdrop image tags.

◆ parentBackdropImageTagsNull()

bool Jellyfin::DTO::TimerInfoDto::parentBackdropImageTagsNull ( ) const

◆ parentBackdropItemId()

QString Jellyfin::DTO::TimerInfoDto::parentBackdropItemId ( ) const

Gets or sets the Id of the Parent that has a backdrop if the item does not have one.

◆ parentBackdropItemIdNull()

bool Jellyfin::DTO::TimerInfoDto::parentBackdropItemIdNull ( ) const

◆ postPaddingSeconds()

qint32 Jellyfin::DTO::TimerInfoDto::postPaddingSeconds ( ) const

Gets or sets the post padding seconds.

◆ prePaddingSeconds()

qint32 Jellyfin::DTO::TimerInfoDto::prePaddingSeconds ( ) const

Gets or sets the pre padding seconds.

◆ priority()

qint32 Jellyfin::DTO::TimerInfoDto::priority ( ) const

Gets or sets the priority.

◆ programId()

QString Jellyfin::DTO::TimerInfoDto::programId ( ) const

Gets or sets the program identifier.

◆ programIdNull()

bool Jellyfin::DTO::TimerInfoDto::programIdNull ( ) const

◆ programInfo()

QSharedPointer< BaseItemDto > Jellyfin::DTO::TimerInfoDto::programInfo ( ) const

◆ replaceData()

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

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

◆ runTimeTicks()

std::optional< qint64 > Jellyfin::DTO::TimerInfoDto::runTimeTicks ( ) const

Gets or sets the run time ticks.

◆ runTimeTicksNull()

bool Jellyfin::DTO::TimerInfoDto::runTimeTicksNull ( ) const

◆ seriesTimerId()

QString Jellyfin::DTO::TimerInfoDto::seriesTimerId ( ) const

Gets or sets the series timer identifier.

◆ seriesTimerIdNull()

bool Jellyfin::DTO::TimerInfoDto::seriesTimerIdNull ( ) const

◆ serverId()

QString Jellyfin::DTO::TimerInfoDto::serverId ( ) const

Gets or sets the server identifier.

◆ serverIdNull()

bool Jellyfin::DTO::TimerInfoDto::serverIdNull ( ) const

◆ serviceName()

QString Jellyfin::DTO::TimerInfoDto::serviceName ( ) const

Gets or sets the name of the service.

◆ serviceNameNull()

bool Jellyfin::DTO::TimerInfoDto::serviceNameNull ( ) const

◆ setChannelId()

void Jellyfin::DTO::TimerInfoDto::setChannelId ( QString newChannelId)

Gets or sets the channel id of the recording.

◆ setChannelName()

void Jellyfin::DTO::TimerInfoDto::setChannelName ( QString newChannelName)

Gets or sets the channel name of the recording.

◆ setChannelNameNull()

void Jellyfin::DTO::TimerInfoDto::setChannelNameNull ( )

◆ setChannelPrimaryImageTag()

void Jellyfin::DTO::TimerInfoDto::setChannelPrimaryImageTag ( QString newChannelPrimaryImageTag)

◆ setChannelPrimaryImageTagNull()

void Jellyfin::DTO::TimerInfoDto::setChannelPrimaryImageTagNull ( )

◆ setEndDate()

void Jellyfin::DTO::TimerInfoDto::setEndDate ( QDateTime newEndDate)

Gets or sets the end date of the recording, in UTC.

◆ setExternalChannelId()

void Jellyfin::DTO::TimerInfoDto::setExternalChannelId ( QString newExternalChannelId)

Gets or sets the external channel identifier.

◆ setExternalChannelIdNull()

void Jellyfin::DTO::TimerInfoDto::setExternalChannelIdNull ( )

◆ setExternalId()

void Jellyfin::DTO::TimerInfoDto::setExternalId ( QString newExternalId)

Gets or sets the external identifier.

◆ setExternalIdNull()

void Jellyfin::DTO::TimerInfoDto::setExternalIdNull ( )

◆ setExternalProgramId()

void Jellyfin::DTO::TimerInfoDto::setExternalProgramId ( QString newExternalProgramId)

Gets or sets the external program identifier.

◆ setExternalProgramIdNull()

void Jellyfin::DTO::TimerInfoDto::setExternalProgramIdNull ( )

◆ setExternalSeriesTimerId()

void Jellyfin::DTO::TimerInfoDto::setExternalSeriesTimerId ( QString newExternalSeriesTimerId)

Gets or sets the external series timer identifier.

◆ setExternalSeriesTimerIdNull()

void Jellyfin::DTO::TimerInfoDto::setExternalSeriesTimerIdNull ( )

◆ setFromJson()

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

◆ setIsPostPaddingRequired()

void Jellyfin::DTO::TimerInfoDto::setIsPostPaddingRequired ( bool newIsPostPaddingRequired)

Gets or sets a value indicating whether this instance is post padding required.

◆ setIsPrePaddingRequired()

void Jellyfin::DTO::TimerInfoDto::setIsPrePaddingRequired ( bool newIsPrePaddingRequired)

Gets or sets a value indicating whether this instance is pre padding required.

◆ setJellyfinId()

void Jellyfin::DTO::TimerInfoDto::setJellyfinId ( QString newJellyfinId)

Gets or sets the Id of the recording.

◆ setJellyfinIdNull()

void Jellyfin::DTO::TimerInfoDto::setJellyfinIdNull ( )

◆ setKeepUntil()

void Jellyfin::DTO::TimerInfoDto::setKeepUntil ( KeepUntil newKeepUntil)

◆ setName()

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

Gets or sets the name of the recording.

◆ setNameNull()

void Jellyfin::DTO::TimerInfoDto::setNameNull ( )

◆ setOverview()

void Jellyfin::DTO::TimerInfoDto::setOverview ( QString newOverview)

Gets or sets the description of the recording.

◆ setOverviewNull()

void Jellyfin::DTO::TimerInfoDto::setOverviewNull ( )

◆ setParentBackdropImageTags()

void Jellyfin::DTO::TimerInfoDto::setParentBackdropImageTags ( QStringList newParentBackdropImageTags)

Gets or sets the parent backdrop image tags.

◆ setParentBackdropImageTagsNull()

void Jellyfin::DTO::TimerInfoDto::setParentBackdropImageTagsNull ( )

◆ setParentBackdropItemId()

void Jellyfin::DTO::TimerInfoDto::setParentBackdropItemId ( QString newParentBackdropItemId)

Gets or sets the Id of the Parent that has a backdrop if the item does not have one.

◆ setParentBackdropItemIdNull()

void Jellyfin::DTO::TimerInfoDto::setParentBackdropItemIdNull ( )

◆ setPostPaddingSeconds()

void Jellyfin::DTO::TimerInfoDto::setPostPaddingSeconds ( qint32 newPostPaddingSeconds)

Gets or sets the post padding seconds.

◆ setPrePaddingSeconds()

void Jellyfin::DTO::TimerInfoDto::setPrePaddingSeconds ( qint32 newPrePaddingSeconds)

Gets or sets the pre padding seconds.

◆ setPriority()

void Jellyfin::DTO::TimerInfoDto::setPriority ( qint32 newPriority)

Gets or sets the priority.

◆ setProgramId()

void Jellyfin::DTO::TimerInfoDto::setProgramId ( QString newProgramId)

Gets or sets the program identifier.

◆ setProgramIdNull()

void Jellyfin::DTO::TimerInfoDto::setProgramIdNull ( )

◆ setProgramInfo()

void Jellyfin::DTO::TimerInfoDto::setProgramInfo ( QSharedPointer< BaseItemDto > newProgramInfo)

◆ setRunTimeTicks()

void Jellyfin::DTO::TimerInfoDto::setRunTimeTicks ( std::optional< qint64 > newRunTimeTicks)

Gets or sets the run time ticks.

◆ setRunTimeTicksNull()

void Jellyfin::DTO::TimerInfoDto::setRunTimeTicksNull ( )

◆ setSeriesTimerId()

void Jellyfin::DTO::TimerInfoDto::setSeriesTimerId ( QString newSeriesTimerId)

Gets or sets the series timer identifier.

◆ setSeriesTimerIdNull()

void Jellyfin::DTO::TimerInfoDto::setSeriesTimerIdNull ( )

◆ setServerId()

void Jellyfin::DTO::TimerInfoDto::setServerId ( QString newServerId)

Gets or sets the server identifier.

◆ setServerIdNull()

void Jellyfin::DTO::TimerInfoDto::setServerIdNull ( )

◆ setServiceName()

void Jellyfin::DTO::TimerInfoDto::setServiceName ( QString newServiceName)

Gets or sets the name of the service.

◆ setServiceNameNull()

void Jellyfin::DTO::TimerInfoDto::setServiceNameNull ( )

◆ setStartDate()

void Jellyfin::DTO::TimerInfoDto::setStartDate ( QDateTime newStartDate)

Gets or sets the start date of the recording, in UTC.

◆ setStatus()

void Jellyfin::DTO::TimerInfoDto::setStatus ( RecordingStatus newStatus)

◆ setType()

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

◆ setTypeNull()

void Jellyfin::DTO::TimerInfoDto::setTypeNull ( )

◆ startDate()

QDateTime Jellyfin::DTO::TimerInfoDto::startDate ( ) const

Gets or sets the start date of the recording, in UTC.

◆ status()

RecordingStatus Jellyfin::DTO::TimerInfoDto::status ( ) const

◆ toJson()

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

◆ type()

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

◆ typeNull()

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

Member Data Documentation

◆ m_channelId

QString Jellyfin::DTO::TimerInfoDto::m_channelId
protected

◆ m_channelName

QString Jellyfin::DTO::TimerInfoDto::m_channelName
protected

◆ m_channelPrimaryImageTag

QString Jellyfin::DTO::TimerInfoDto::m_channelPrimaryImageTag
protected

◆ m_endDate

QDateTime Jellyfin::DTO::TimerInfoDto::m_endDate
protected

◆ m_externalChannelId

QString Jellyfin::DTO::TimerInfoDto::m_externalChannelId
protected

◆ m_externalId

QString Jellyfin::DTO::TimerInfoDto::m_externalId
protected

◆ m_externalProgramId

QString Jellyfin::DTO::TimerInfoDto::m_externalProgramId
protected

◆ m_externalSeriesTimerId

QString Jellyfin::DTO::TimerInfoDto::m_externalSeriesTimerId
protected

◆ m_isPostPaddingRequired

bool Jellyfin::DTO::TimerInfoDto::m_isPostPaddingRequired
protected

◆ m_isPrePaddingRequired

bool Jellyfin::DTO::TimerInfoDto::m_isPrePaddingRequired
protected

◆ m_jellyfinId

QString Jellyfin::DTO::TimerInfoDto::m_jellyfinId
protected

◆ m_keepUntil

KeepUntil Jellyfin::DTO::TimerInfoDto::m_keepUntil
protected

◆ m_name

QString Jellyfin::DTO::TimerInfoDto::m_name
protected

◆ m_overview

QString Jellyfin::DTO::TimerInfoDto::m_overview
protected

◆ m_parentBackdropImageTags

QStringList Jellyfin::DTO::TimerInfoDto::m_parentBackdropImageTags
protected

◆ m_parentBackdropItemId

QString Jellyfin::DTO::TimerInfoDto::m_parentBackdropItemId
protected

◆ m_postPaddingSeconds

qint32 Jellyfin::DTO::TimerInfoDto::m_postPaddingSeconds
protected

◆ m_prePaddingSeconds

qint32 Jellyfin::DTO::TimerInfoDto::m_prePaddingSeconds
protected

◆ m_priority

qint32 Jellyfin::DTO::TimerInfoDto::m_priority
protected

◆ m_programId

QString Jellyfin::DTO::TimerInfoDto::m_programId
protected

◆ m_programInfo

QSharedPointer<BaseItemDto> Jellyfin::DTO::TimerInfoDto::m_programInfo = QSharedPointer<BaseItemDto>()
protected

◆ m_runTimeTicks

std::optional<qint64> Jellyfin::DTO::TimerInfoDto::m_runTimeTicks = std::nullopt
protected

◆ m_seriesTimerId

QString Jellyfin::DTO::TimerInfoDto::m_seriesTimerId
protected

◆ m_serverId

QString Jellyfin::DTO::TimerInfoDto::m_serverId
protected

◆ m_serviceName

QString Jellyfin::DTO::TimerInfoDto::m_serviceName
protected

◆ m_startDate

QDateTime Jellyfin::DTO::TimerInfoDto::m_startDate
protected

◆ m_status

RecordingStatus Jellyfin::DTO::TimerInfoDto::m_status
protected

◆ m_type

QString Jellyfin::DTO::TimerInfoDto::m_type
protected

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