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

#include <endpointinfo.h>

Public Member Functions

 EndPointInfo (bool isLocal, bool isInNetwork)
 
 EndPointInfo (const EndPointInfo &other)
 
void replaceData (EndPointInfo &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
bool isLocal () const
 
void setIsLocal (bool newIsLocal)
 
bool isInNetwork () const
 
void setIsInNetwork (bool newIsInNetwork)
 

Static Public Member Functions

static EndPointInfo fromJson (QJsonObject source)
 

Protected Attributes

bool m_isLocal
 
bool m_isInNetwork
 

Constructor & Destructor Documentation

◆ EndPointInfo() [1/2]

Jellyfin::DTO::EndPointInfo::EndPointInfo ( bool isLocal,
bool isInNetwork )

◆ EndPointInfo() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ isInNetwork()

bool Jellyfin::DTO::EndPointInfo::isInNetwork ( ) const

◆ isLocal()

bool Jellyfin::DTO::EndPointInfo::isLocal ( ) const

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setIsInNetwork()

void Jellyfin::DTO::EndPointInfo::setIsInNetwork ( bool newIsInNetwork)

◆ setIsLocal()

void Jellyfin::DTO::EndPointInfo::setIsLocal ( bool newIsLocal)

◆ toJson()

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

Member Data Documentation

◆ m_isInNetwork

bool Jellyfin::DTO::EndPointInfo::m_isInNetwork
protected

◆ m_isLocal

bool Jellyfin::DTO::EndPointInfo::m_isLocal
protected

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