ExStreamClient.Model.ActionLogResponse (ExStreamClient v0.1.7)

View Source

Schema representing a ActionLogResponse

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.ActionLogResponse{
  created_at: float(),
  custom: %{optional(String.t()) => any()},
  id: String.t(),
  reason: String.t(),
  review_queue_item: ExStreamClient.Model.ReviewQueueItem.t() | nil,
  target_user: ExStreamClient.Model.UserResponse.t() | nil,
  target_user_id: String.t(),
  type: String.t(),
  user: ExStreamClient.Model.UserResponse.t() | nil,
  user_id: String.t()
}

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()