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

#include <objectgroupupdate.h>

Public Member Functions

 ObjectGroupUpdate (QString groupId, GroupUpdateType type, QVariant data)
 
 ObjectGroupUpdate (const ObjectGroupUpdate &other)
 
void replaceData (ObjectGroupUpdate &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
QString groupId () const
 Gets the group identifier.
 
void setGroupId (QString newGroupId)
 Gets the group identifier.
 
GroupUpdateType type () const
 
void setType (GroupUpdateType newType)
 
QVariant data () const
 Gets the update data.
 
void setData (QVariant newData)
 Gets the update data.
 

Static Public Member Functions

static ObjectGroupUpdate fromJson (QJsonObject source)
 

Protected Attributes

QString m_groupId
 
GroupUpdateType m_type
 
QVariant m_data
 

Constructor & Destructor Documentation

◆ ObjectGroupUpdate() [1/2]

Jellyfin::DTO::ObjectGroupUpdate::ObjectGroupUpdate ( QString groupId,
GroupUpdateType type,
QVariant data )

◆ ObjectGroupUpdate() [2/2]

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

Member Function Documentation

◆ data()

QVariant Jellyfin::DTO::ObjectGroupUpdate::data ( ) const

Gets the update data.

◆ fromJson()

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

◆ groupId()

QString Jellyfin::DTO::ObjectGroupUpdate::groupId ( ) const

Gets the group identifier.

◆ replaceData()

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

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

◆ setData()

void Jellyfin::DTO::ObjectGroupUpdate::setData ( QVariant newData)

Gets the update data.

◆ setFromJson()

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

◆ setGroupId()

void Jellyfin::DTO::ObjectGroupUpdate::setGroupId ( QString newGroupId)

Gets the group identifier.

◆ setType()

void Jellyfin::DTO::ObjectGroupUpdate::setType ( GroupUpdateType newType)

◆ toJson()

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

◆ type()

GroupUpdateType Jellyfin::DTO::ObjectGroupUpdate::type ( ) const

Member Data Documentation

◆ m_data

QVariant Jellyfin::DTO::ObjectGroupUpdate::m_data
protected

◆ m_groupId

QString Jellyfin::DTO::ObjectGroupUpdate::m_groupId
protected

◆ m_type

GroupUpdateType Jellyfin::DTO::ObjectGroupUpdate::m_type
protected

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