EDA.AuditLog.Entry (EDA v0.3.0)

Copy Markdown View Source

A single audit log entry.

Summary

Functions

Converts a raw audit log entry map into this struct. Parses changes into Change structs.

Types

t()

@type t() :: %EDA.AuditLog.Entry{
  action_type: integer() | nil,
  changes: [EDA.AuditLog.Change.t()] | nil,
  id: String.t() | nil,
  options: map() | nil,
  reason: String.t() | nil,
  target_id: String.t() | nil,
  user_id: String.t() | nil
}

Functions

from_raw(raw)

@spec from_raw(map()) :: t()

Converts a raw audit log entry map into this struct. Parses changes into Change structs.