ExStreamClient.Model.AppealItemResponse (ExStreamClient v0.2.0)

Copy Markdown View Source

Schema representing a AppealItemResponse

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.AppealItemResponse{
  appeal_reason: String.t(),
  attachments: [String.t()] | nil,
  created_at: DateTime.t() | integer() | String.t(),
  decision_reason: String.t() | nil,
  entity_content: ExStreamClient.Model.ModerationPayload.t() | nil,
  entity_id: String.t(),
  entity_type: String.t(),
  id: String.t(),
  status: String.t(),
  updated_at: DateTime.t() | integer() | 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()