DiscordOptionalAuditEntryInfo class

Constructors

DiscordOptionalAuditEntryInfo({DiscordSnowflake? channelId, String? count, String? deleteMemberDays, DiscordSnowflake? id, String? membersRemoved, DiscordSnowflake? messageId, String? roleName, String? type})
DiscordOptionalAuditEntryInfo.fromJson(Map<String, dynamic> json)
factory

Properties

channelId DiscordSnowflake?
channel in which the entities were targeted
final
count String?
number of entities that were targeted
final
deleteMemberDays String?
number of days after which inactive members were kicked
final
hashCode int
The hash code for this object.
no setterinherited
id DiscordSnowflake?
id of the overwritten entity
final
membersRemoved String?
number of members removed by the prune
final
messageId DiscordSnowflake?
id of the message that was targeted
final
roleName String?
name of the role if type is "0" (not present if type is "1")
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
type of overwrriten entity - "0" for "role" or "1" for "member"
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

channelIdEntry → const String
countEntry → const String
deleteMemberDaysEntry → const String
idEntry → const String
membersRemovedEntry → const String
messageIdEntry → const String
roleNameEntry → const String
typeEntry → const String