ExStreamClient.Model.ModerationFlagResponse (ExStreamClient v0.1.1)

View Source

Schema representing a ModerationFlagResponse

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.ModerationFlagResponse{
  created_at: String.t(),
  custom: %{optional(String.t()) => any()} | nil,
  entity_creator_id: String.t() | nil,
  entity_id: String.t(),
  entity_type: String.t(),
  id: String.t(),
  labels: [String.t()] | nil,
  moderation_payload: ExStreamClient.Model.ModerationPayload.t() | nil,
  reason: String.t() | nil,
  result: [%{optional(String.t()) => any()}] | nil,
  review_queue_item: ExStreamClient.Model.ReviewQueueItem.t() | nil,
  review_queue_item_id: String.t() | nil,
  type: String.t(),
  updated_at: String.t(),
  user: ExStreamClient.Model.UserResponse.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()