AuditLog class
Audit Log structure
https://discord.com/developers/docs/resources/audit-log#audit-log-object-audit-log-structure
- Annotations
-
- @JsonSerializable(includeIfNull: false)
Constructors
-
AuditLog({required List<
AuditLogEntry> auditLogEntries, required List<Integration> integrations, required List<Channel> threads, required List<User> users, required List<Webhook> webhooks}) - Constructor
-
AuditLog.fromJson(Map<
String, dynamic> json) -
From json
factory
Properties
-
auditLogEntries
→ List<
AuditLogEntry> -
list of audit log entries
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
integrations
→ List<
Integration> -
list of partial integration objects
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
threads
→ List<
Channel> -
list of threads found in the audit log
final
-
users
→ List<
User> -
list of users found in the audit log
final
-
webhooks
→ List<
Webhook> -
list of webhooks found in the audit log
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - To json
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited