ExStreamClient.Model.ActionLog (ExStreamClient v0.1.7)

View Source

Schema representing a ActionLog

Summary

Functions

Components could just be enums that are typed - so we need to decode those as enums as they will just be stings

Types

t()

@type t() :: %ExStreamClient.Model.ActionLog{
  created_at: float(),
  custom: %{optional(String.t()) => any()},
  id: String.t(),
  reason: String.t(),
  reporter_type: String.t(),
  review_queue_item: ExStreamClient.Model.ReviewQueueItem.t() | nil,
  review_queue_item_id: String.t(),
  target_user: ExStreamClient.Model.User.t() | nil,
  target_user_id: String.t(),
  type: String.t(),
  user: ExStreamClient.Model.User.t() | nil
}

Functions

decode(map)

Components could just be enums that are typed - so we need to decode those as enums as they will just be stings

nested_components()