D++ (DPP)
C++ Discord API Bot Library
|
The auditlog class represents the audit log entry of a guild. More...
#include <auditlog.h>
Public Member Functions | |
auditlog () | |
~auditlog () | |
auditlog & | fill_from_json (nlohmann::json *j) |
auditlog & | parse_from_json (nlohmann::json *j) |
Convert object from nlohmann::json. More... | |
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 entry of a guild.
dpp::auditlog::auditlog | ( | ) |
Constructor
dpp::auditlog::~auditlog | ( | ) |
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 |
|
inlineinherited |
Convert object from nlohmann::json.
j | nlohmann::json object |
std::vector<audit_entry> dpp::auditlog::entries |
Audit log entries.