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

#include <groupupdate.h>

Public Member Functions

 GroupUpdate (QString groupId, GroupUpdateType type)
 GroupUpdate (const GroupUpdate &other)
void replaceData (GroupUpdate &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)

Static Public Member Functions

static GroupUpdate fromJson (QJsonObject source)

Protected Attributes

QString m_groupId
GroupUpdateType m_type

Constructor & Destructor Documentation

◆ GroupUpdate() [1/2]

Jellyfin::DTO::GroupUpdate::GroupUpdate ( QString groupId,
GroupUpdateType type )

◆ GroupUpdate() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ groupId()

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

Gets the group identifier.

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setGroupId()

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

Gets the group identifier.

◆ setType()

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

◆ toJson()

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

◆ type()

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

Member Data Documentation

◆ m_groupId

QString Jellyfin::DTO::GroupUpdate::m_groupId
protected

◆ m_type

GroupUpdateType Jellyfin::DTO::GroupUpdate::m_type
protected

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