Packages

c

ackcord.data

AuditLogEntry

case class AuditLogEntry(targetId: Option[RawSnowflake], changes: Option[Seq[AuditLogChange[_]]], userId: Option[UserId], id: RawSnowflake, actionType: AuditLogEvent, options: Option[OptionalAuditLogInfo], reason: Option[String]) extends Product with Serializable

An individual audit log event

targetId

The id of the affected object

changes

The changes made to the object

userId

The user responsible for the changes

id

The id of this entry

actionType

Type of change that happened

options

Optional extra data for some changes, see comments on OptionalAuditLogInfo for more info

reason

The reason for the change

Source
auditlog.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AuditLogEntry
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AuditLogEntry(targetId: Option[RawSnowflake], changes: Option[Seq[AuditLogChange[_]]], userId: Option[UserId], id: RawSnowflake, actionType: AuditLogEvent, options: Option[OptionalAuditLogInfo], reason: Option[String])

    targetId

    The id of the affected object

    changes

    The changes made to the object

    userId

    The user responsible for the changes

    id

    The id of this entry

    actionType

    Type of change that happened

    options

    Optional extra data for some changes, see comments on OptionalAuditLogInfo for more info

    reason

    The reason for the change

Value Members

  1. val actionType: AuditLogEvent
  2. val changes: Option[Seq[AuditLogChange[_]]]
  3. val id: RawSnowflake
  4. val options: Option[OptionalAuditLogInfo]
  5. def productElementNames: Iterator[String]
    Definition Classes
    Product
  6. val reason: Option[String]
  7. val targetId: Option[RawSnowflake]
  8. val userId: Option[UserId]