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

#include <guideinfo.h>

Public Member Functions

 GuideInfo (QDateTime startDate, QDateTime endDate)
 
 GuideInfo (const GuideInfo &other)
 
void replaceData (GuideInfo &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QDateTime startDate () const
 Gets or sets the start date.
 
void setStartDate (QDateTime newStartDate)
 Gets or sets the start date.
 
QDateTime endDate () const
 Gets or sets the end date.
 
void setEndDate (QDateTime newEndDate)
 Gets or sets the end date.
 

Static Public Member Functions

static GuideInfo fromJson (QJsonObject source)
 

Protected Attributes

QDateTime m_startDate
 
QDateTime m_endDate
 

Constructor & Destructor Documentation

◆ GuideInfo() [1/2]

Jellyfin::DTO::GuideInfo::GuideInfo ( QDateTime startDate,
QDateTime endDate )

◆ GuideInfo() [2/2]

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

Member Function Documentation

◆ endDate()

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

Gets or sets the end date.

◆ fromJson()

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

◆ replaceData()

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

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

◆ setEndDate()

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

Gets or sets the end date.

◆ setFromJson()

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

◆ setStartDate()

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

Gets or sets the start date.

◆ startDate()

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

Gets or sets the start date.

◆ toJson()

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

Member Data Documentation

◆ m_endDate

QDateTime Jellyfin::DTO::GuideInfo::m_endDate
protected

◆ m_startDate

QDateTime Jellyfin::DTO::GuideInfo::m_startDate
protected

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