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

#include <pingrequestdto.h>

Public Member Functions

 PingRequestDto (qint64 ping)
 
 PingRequestDto (const PingRequestDto &other)
 
void replaceData (PingRequestDto &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
qint64 ping () const
 Gets or sets the ping time.
 
void setPing (qint64 newPing)
 Gets or sets the ping time.
 

Static Public Member Functions

static PingRequestDto fromJson (QJsonObject source)
 

Protected Attributes

qint64 m_ping
 

Constructor & Destructor Documentation

◆ PingRequestDto() [1/2]

Jellyfin::DTO::PingRequestDto::PingRequestDto ( qint64 ping)

◆ PingRequestDto() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ ping()

qint64 Jellyfin::DTO::PingRequestDto::ping ( ) const

Gets or sets the ping time.

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setPing()

void Jellyfin::DTO::PingRequestDto::setPing ( qint64 newPing)

Gets or sets the ping time.

◆ toJson()

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

Member Data Documentation

◆ m_ping

qint64 Jellyfin::DTO::PingRequestDto::m_ping
protected

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