D++ (DPP)
C++ Discord API Bot Library
|
The auditlog class represents the audit log entries of a guild. More...
#include <auditlog.h>
Public Member Functions | |
auditlog ()=default | |
virtual | ~auditlog ()=default |
auditlog & | fill_from_json (nlohmann::json *j) |
virtual std::string | build_json (bool with_id=false) const |
Build JSON string from the object. More... | |
Public Attributes | |
std::vector< audit_entry > | entries |
Audit log entries. More... | |
The auditlog class represents the audit log entries of a guild.
|
default |
Constructor
|
virtualdefault |
Destructor
|
inlinevirtualinherited |
Build JSON string from the object.
with_id | Include the ID in the JSON |
auditlog & dpp::auditlog::fill_from_json | ( | nlohmann::json * | j | ) |
Read class values from json object
j | A json object to read from |
std::vector<audit_entry> dpp::auditlog::entries |
Audit log entries.