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

#include <groupinfodtogroupupdate.h>

Public Member Functions

 GroupInfoDtoGroupUpdate (QString groupId, GroupUpdateType type, QSharedPointer< GroupInfoDto > data)
 GroupInfoDtoGroupUpdate (const GroupInfoDtoGroupUpdate &other)
void replaceData (GroupInfoDtoGroupUpdate &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)
QSharedPointer< GroupInfoDtodata () const
void setData (QSharedPointer< GroupInfoDto > newData)

Static Public Member Functions

static GroupInfoDtoGroupUpdate fromJson (QJsonObject source)

Protected Attributes

QString m_groupId
GroupUpdateType m_type
QSharedPointer< GroupInfoDtom_data = QSharedPointer<GroupInfoDto>()

Constructor & Destructor Documentation

◆ GroupInfoDtoGroupUpdate() [1/2]

Jellyfin::DTO::GroupInfoDtoGroupUpdate::GroupInfoDtoGroupUpdate ( QString groupId,
GroupUpdateType type,
QSharedPointer< GroupInfoDto > data )

◆ GroupInfoDtoGroupUpdate() [2/2]

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

Member Function Documentation

◆ data()

QSharedPointer< GroupInfoDto > Jellyfin::DTO::GroupInfoDtoGroupUpdate::data ( ) const

◆ fromJson()

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

◆ groupId()

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

Gets the group identifier.

◆ replaceData()

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

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

◆ setData()

void Jellyfin::DTO::GroupInfoDtoGroupUpdate::setData ( QSharedPointer< GroupInfoDto > newData)

◆ setFromJson()

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

◆ setGroupId()

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

Gets the group identifier.

◆ setType()

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

◆ toJson()

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

◆ type()

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

Member Data Documentation

◆ m_data

QSharedPointer<GroupInfoDto> Jellyfin::DTO::GroupInfoDtoGroupUpdate::m_data = QSharedPointer<GroupInfoDto>()
protected

◆ m_groupId

QString Jellyfin::DTO::GroupInfoDtoGroupUpdate::m_groupId
protected

◆ m_type

GroupUpdateType Jellyfin::DTO::GroupInfoDtoGroupUpdate::m_type
protected

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