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

#include <groupstateupdate.h>

Public Member Functions

 GroupStateUpdate (GroupStateType state, PlaybackRequestType reason)
 GroupStateUpdate (const GroupStateUpdate &other)
void replaceData (GroupStateUpdate &other)
void setFromJson (QJsonObject source)
QJsonObject toJson () const
GroupStateType state () const
void setState (GroupStateType newState)
PlaybackRequestType reason () const
void setReason (PlaybackRequestType newReason)

Static Public Member Functions

static GroupStateUpdate fromJson (QJsonObject source)

Protected Attributes

GroupStateType m_state
PlaybackRequestType m_reason

Constructor & Destructor Documentation

◆ GroupStateUpdate() [1/2]

Jellyfin::DTO::GroupStateUpdate::GroupStateUpdate ( GroupStateType state,
PlaybackRequestType reason )

◆ GroupStateUpdate() [2/2]

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

Member Function Documentation

◆ fromJson()

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

◆ reason()

PlaybackRequestType Jellyfin::DTO::GroupStateUpdate::reason ( ) const

◆ replaceData()

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

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

◆ setFromJson()

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

◆ setReason()

void Jellyfin::DTO::GroupStateUpdate::setReason ( PlaybackRequestType newReason)

◆ setState()

void Jellyfin::DTO::GroupStateUpdate::setState ( GroupStateType newState)

◆ state()

GroupStateType Jellyfin::DTO::GroupStateUpdate::state ( ) const

◆ toJson()

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

Member Data Documentation

◆ m_reason

PlaybackRequestType Jellyfin::DTO::GroupStateUpdate::m_reason
protected

◆ m_state

GroupStateType Jellyfin::DTO::GroupStateUpdate::m_state
protected

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