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

#include <generalcommand.h>

Public Member Functions

 GeneralCommand (GeneralCommandType name, QString controllingUserId)
 
 GeneralCommand (const GeneralCommand &other)
 
void replaceData (GeneralCommand &other)
 
void setFromJson (QJsonObject source)
 
QJsonObject toJson () const
 
GeneralCommandType name () const
 
void setName (GeneralCommandType newName)
 
QString controllingUserId () const
 
void setControllingUserId (QString newControllingUserId)
 
QJsonObject arguments () const
 
void setArguments (QJsonObject newArguments)
 
bool argumentsNull () const
 
void setArgumentsNull ()
 

Static Public Member Functions

static GeneralCommand fromJson (QJsonObject source)
 

Protected Attributes

GeneralCommandType m_name
 
QString m_controllingUserId
 
QJsonObject m_arguments
 

Constructor & Destructor Documentation

◆ GeneralCommand() [1/2]

Jellyfin::DTO::GeneralCommand::GeneralCommand ( GeneralCommandType name,
QString controllingUserId )

◆ GeneralCommand() [2/2]

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

Member Function Documentation

◆ arguments()

QJsonObject Jellyfin::DTO::GeneralCommand::arguments ( ) const

◆ argumentsNull()

bool Jellyfin::DTO::GeneralCommand::argumentsNull ( ) const

◆ controllingUserId()

QString Jellyfin::DTO::GeneralCommand::controllingUserId ( ) const

◆ fromJson()

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

◆ name()

GeneralCommandType Jellyfin::DTO::GeneralCommand::name ( ) const

◆ replaceData()

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

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

◆ setArguments()

void Jellyfin::DTO::GeneralCommand::setArguments ( QJsonObject newArguments)

◆ setArgumentsNull()

void Jellyfin::DTO::GeneralCommand::setArgumentsNull ( )

◆ setControllingUserId()

void Jellyfin::DTO::GeneralCommand::setControllingUserId ( QString newControllingUserId)

◆ setFromJson()

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

◆ setName()

void Jellyfin::DTO::GeneralCommand::setName ( GeneralCommandType newName)

◆ toJson()

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

Member Data Documentation

◆ m_arguments

QJsonObject Jellyfin::DTO::GeneralCommand::m_arguments
protected

◆ m_controllingUserId

QString Jellyfin::DTO::GeneralCommand::m_controllingUserId
protected

◆ m_name

GeneralCommandType Jellyfin::DTO::GeneralCommand::m_name
protected

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