ExStreamClient.Model.EventRequest (ExStreamClient v0.1.7)

View Source

Schema representing a EventRequest

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.EventRequest{
  custom: %{optional(String.t()) => any()} | nil,
  parent_id: String.t() | nil,
  type: String.t(),
  user: ExStreamClient.Model.UserRequest.t() | nil,
  user_id: String.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()