libQuotient
A Qt library for building matrix clients
Quotient::PowerLevelsEventContent Struct Reference

#include <roompowerlevelsevent.h>

Collaboration diagram for Quotient::PowerLevelsEventContent:

Classes

struct  Notifications
 

Public Member Functions

 PowerLevelsEventContent (const QJsonObject &json)
 
QJsonObject toJson () const
 

Public Attributes

int invite
 
int kick
 
int ban
 
int redact
 
QHash< QString, int > events
 
int eventsDefault
 
int stateDefault
 
QHash< QString, int > users
 
int usersDefault
 
Notifications notifications
 

Detailed Description

Definition at line 9 of file roompowerlevelsevent.h.

Constructor & Destructor Documentation

◆ PowerLevelsEventContent()

Quotient::PowerLevelsEventContent::PowerLevelsEventContent ( const QJsonObject &  json)
explicit

Member Function Documentation

◆ toJson()

QJsonObject Quotient::PowerLevelsEventContent::toJson ( ) const

Member Data Documentation

◆ ban

int Quotient::PowerLevelsEventContent::ban

Definition at line 19 of file roompowerlevelsevent.h.

◆ events

QHash<QString, int> Quotient::PowerLevelsEventContent::events

Definition at line 23 of file roompowerlevelsevent.h.

◆ eventsDefault

int Quotient::PowerLevelsEventContent::eventsDefault

Definition at line 24 of file roompowerlevelsevent.h.

◆ invite

int Quotient::PowerLevelsEventContent::invite

Definition at line 17 of file roompowerlevelsevent.h.

◆ kick

int Quotient::PowerLevelsEventContent::kick

Definition at line 18 of file roompowerlevelsevent.h.

◆ notifications

Notifications Quotient::PowerLevelsEventContent::notifications

Definition at line 30 of file roompowerlevelsevent.h.

◆ redact

int Quotient::PowerLevelsEventContent::redact

Definition at line 21 of file roompowerlevelsevent.h.

◆ stateDefault

int Quotient::PowerLevelsEventContent::stateDefault

Definition at line 25 of file roompowerlevelsevent.h.

◆ users

QHash<QString, int> Quotient::PowerLevelsEventContent::users

Definition at line 27 of file roompowerlevelsevent.h.

◆ usersDefault

int Quotient::PowerLevelsEventContent::usersDefault

Definition at line 28 of file roompowerlevelsevent.h.


The documentation for this struct was generated from the following file: