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

#include <stringgroupupdate.h>

Public Member Functions

 StringGroupUpdate (QString groupId, GroupUpdateType type, QString data)
 StringGroupUpdate (const StringGroupUpdate &other)
void replaceData (StringGroupUpdate &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)
QString data () const
 Gets the update data.
void setData (QString newData)
 Gets the update data.

Static Public Member Functions

static StringGroupUpdate fromJson (QJsonObject source)

Protected Attributes

QString m_groupId
GroupUpdateType m_type
QString m_data

Constructor & Destructor Documentation

◆ StringGroupUpdate() [1/2]

Jellyfin::DTO::StringGroupUpdate::StringGroupUpdate ( QString groupId,
GroupUpdateType type,
QString data )

◆ StringGroupUpdate() [2/2]

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

Member Function Documentation

◆ data()

QString Jellyfin::DTO::StringGroupUpdate::data ( ) const

Gets the update data.

◆ fromJson()

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

◆ groupId()

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

Gets the group identifier.

◆ replaceData()

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

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

◆ setData()

void Jellyfin::DTO::StringGroupUpdate::setData ( QString newData)

Gets the update data.

◆ setFromJson()

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

◆ setGroupId()

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

Gets the group identifier.

◆ setType()

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

◆ toJson()

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

◆ type()

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

Member Data Documentation

◆ m_data

QString Jellyfin::DTO::StringGroupUpdate::m_data
protected

◆ m_groupId

QString Jellyfin::DTO::StringGroupUpdate::m_groupId
protected

◆ m_type

GroupUpdateType Jellyfin::DTO::StringGroupUpdate::m_type
protected

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