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

#include <castreceiverapplication.h>

Public Member Functions

 CastReceiverApplication (QString jellyfinId, QString name)
 CastReceiverApplication (const CastReceiverApplication &other)
void replaceData (CastReceiverApplication &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
QString jellyfinId () const
 Gets or sets the cast receiver application id.
void setJellyfinId (QString newJellyfinId)
 Gets or sets the cast receiver application id.
QString name () const
 Gets or sets the cast receiver application name.
void setName (QString newName)
 Gets or sets the cast receiver application name.

Static Public Member Functions

static CastReceiverApplication fromJson (QJsonObject source)

Protected Attributes

QString m_jellyfinId
QString m_name

Constructor & Destructor Documentation

◆ CastReceiverApplication() [1/2]

Jellyfin::DTO::CastReceiverApplication::CastReceiverApplication ( QString jellyfinId,
QString name )

◆ CastReceiverApplication() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ jellyfinId()

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

Gets or sets the cast receiver application id.

◆ name()

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

Gets or sets the cast receiver application name.

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setJellyfinId()

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

Gets or sets the cast receiver application id.

◆ setName()

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

Gets or sets the cast receiver application name.

◆ toJson()

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

Member Data Documentation

◆ m_jellyfinId

QString Jellyfin::DTO::CastReceiverApplication::m_jellyfinId
protected

◆ m_name

QString Jellyfin::DTO::CastReceiverApplication::m_name
protected

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