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

#include <utctimeresponse.h>

Public Member Functions

 UtcTimeResponse (QDateTime requestReceptionTime, QDateTime responseTransmissionTime)
 
 UtcTimeResponse (const UtcTimeResponse &other)
 
void replaceData (UtcTimeResponse &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QDateTime requestReceptionTime () const
 Gets the UTC time when request has been received.
 
void setRequestReceptionTime (QDateTime newRequestReceptionTime)
 Gets the UTC time when request has been received.
 
QDateTime responseTransmissionTime () const
 Gets the UTC time when response has been sent.
 
void setResponseTransmissionTime (QDateTime newResponseTransmissionTime)
 Gets the UTC time when response has been sent.
 

Static Public Member Functions

static UtcTimeResponse fromJson (QJsonObject source)
 

Protected Attributes

QDateTime m_requestReceptionTime
 
QDateTime m_responseTransmissionTime
 

Constructor & Destructor Documentation

◆ UtcTimeResponse() [1/2]

Jellyfin::DTO::UtcTimeResponse::UtcTimeResponse ( QDateTime requestReceptionTime,
QDateTime responseTransmissionTime )

◆ UtcTimeResponse() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ replaceData()

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

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

◆ requestReceptionTime()

QDateTime Jellyfin::DTO::UtcTimeResponse::requestReceptionTime ( ) const

Gets the UTC time when request has been received.

◆ responseTransmissionTime()

QDateTime Jellyfin::DTO::UtcTimeResponse::responseTransmissionTime ( ) const

Gets the UTC time when response has been sent.

◆ setFromJson()

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

◆ setRequestReceptionTime()

void Jellyfin::DTO::UtcTimeResponse::setRequestReceptionTime ( QDateTime newRequestReceptionTime)

Gets the UTC time when request has been received.

◆ setResponseTransmissionTime()

void Jellyfin::DTO::UtcTimeResponse::setResponseTransmissionTime ( QDateTime newResponseTransmissionTime)

Gets the UTC time when response has been sent.

◆ toJson()

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

Member Data Documentation

◆ m_requestReceptionTime

QDateTime Jellyfin::DTO::UtcTimeResponse::m_requestReceptionTime
protected

◆ m_responseTransmissionTime

QDateTime Jellyfin::DTO::UtcTimeResponse::m_responseTransmissionTime
protected

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