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

#include <deviceprofileinfo.h>

Public Member Functions

 DeviceProfileInfo (DeviceProfileType type)
 
 DeviceProfileInfo (const DeviceProfileInfo &other)
 
void replaceData (DeviceProfileInfo &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString jellyfinId () const
 Gets or sets the identifier.
 
void setJellyfinId (QString newJellyfinId)
 Gets or sets the identifier.
 
bool jellyfinIdNull () const
 
void setJellyfinIdNull ()
 
QString name () const
 Gets or sets the name.
 
void setName (QString newName)
 Gets or sets the name.
 
bool nameNull () const
 
void setNameNull ()
 
DeviceProfileType type () const
 
void setType (DeviceProfileType newType)
 

Static Public Member Functions

static DeviceProfileInfo fromJson (QJsonObject source)
 

Protected Attributes

QString m_jellyfinId
 
QString m_name
 
DeviceProfileType m_type
 

Constructor & Destructor Documentation

◆ DeviceProfileInfo() [1/2]

Jellyfin::DTO::DeviceProfileInfo::DeviceProfileInfo ( DeviceProfileType type)

◆ DeviceProfileInfo() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ jellyfinId()

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

Gets or sets the identifier.

◆ jellyfinIdNull()

bool Jellyfin::DTO::DeviceProfileInfo::jellyfinIdNull ( ) const

◆ name()

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

Gets or sets the name.

◆ nameNull()

bool Jellyfin::DTO::DeviceProfileInfo::nameNull ( ) const

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setJellyfinId()

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

Gets or sets the identifier.

◆ setJellyfinIdNull()

void Jellyfin::DTO::DeviceProfileInfo::setJellyfinIdNull ( )

◆ setName()

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

Gets or sets the name.

◆ setNameNull()

void Jellyfin::DTO::DeviceProfileInfo::setNameNull ( )

◆ setType()

void Jellyfin::DTO::DeviceProfileInfo::setType ( DeviceProfileType newType)

◆ toJson()

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

◆ type()

DeviceProfileType Jellyfin::DTO::DeviceProfileInfo::type ( ) const

Member Data Documentation

◆ m_jellyfinId

QString Jellyfin::DTO::DeviceProfileInfo::m_jellyfinId
protected

◆ m_name

QString Jellyfin::DTO::DeviceProfileInfo::m_name
protected

◆ m_type

DeviceProfileType Jellyfin::DTO::DeviceProfileInfo::m_type
protected

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