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

#include <serverdiscoveryinfo.h>

Public Member Functions

 ServerDiscoveryInfo (QString address, QString jellyfinId, QString name)
 ServerDiscoveryInfo (const ServerDiscoveryInfo &other)
void replaceData (ServerDiscoveryInfo &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
QString address () const
 Gets the address.
void setAddress (QString newAddress)
 Gets the address.
QString jellyfinId () const
 Gets the server identifier.
void setJellyfinId (QString newJellyfinId)
 Gets the server identifier.
QString name () const
 Gets the name.
void setName (QString newName)
 Gets the name.
QString endpointAddress () const
 Gets the endpoint address.
void setEndpointAddress (QString newEndpointAddress)
 Gets the endpoint address.
bool endpointAddressNull () const
void setEndpointAddressNull ()

Static Public Member Functions

static ServerDiscoveryInfo fromJson (QJsonObject source)

Protected Attributes

QString m_address
QString m_jellyfinId
QString m_name
QString m_endpointAddress

Constructor & Destructor Documentation

◆ ServerDiscoveryInfo() [1/2]

Jellyfin::DTO::ServerDiscoveryInfo::ServerDiscoveryInfo ( QString address,
QString jellyfinId,
QString name )

◆ ServerDiscoveryInfo() [2/2]

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

Member Function Documentation

◆ address()

QString Jellyfin::DTO::ServerDiscoveryInfo::address ( ) const

Gets the address.

◆ endpointAddress()

QString Jellyfin::DTO::ServerDiscoveryInfo::endpointAddress ( ) const

Gets the endpoint address.

◆ endpointAddressNull()

bool Jellyfin::DTO::ServerDiscoveryInfo::endpointAddressNull ( ) const

◆ fromJson()

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

◆ jellyfinId()

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

Gets the server identifier.

◆ name()

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

Gets the name.

◆ replaceData()

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

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

◆ setAddress()

void Jellyfin::DTO::ServerDiscoveryInfo::setAddress ( QString newAddress)

Gets the address.

◆ setEndpointAddress()

void Jellyfin::DTO::ServerDiscoveryInfo::setEndpointAddress ( QString newEndpointAddress)

Gets the endpoint address.

◆ setEndpointAddressNull()

void Jellyfin::DTO::ServerDiscoveryInfo::setEndpointAddressNull ( )

◆ setFromJson()

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

◆ setJellyfinId()

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

Gets the server identifier.

◆ setName()

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

Gets the name.

◆ toJson()

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

Member Data Documentation

◆ m_address

QString Jellyfin::DTO::ServerDiscoveryInfo::m_address
protected

◆ m_endpointAddress

QString Jellyfin::DTO::ServerDiscoveryInfo::m_endpointAddress
protected

◆ m_jellyfinId

QString Jellyfin::DTO::ServerDiscoveryInfo::m_jellyfinId
protected

◆ m_name

QString Jellyfin::DTO::ServerDiscoveryInfo::m_name
protected

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