ExStreamClient.Model.ActivityMarkedEvent (ExStreamClient v0.1.13)

View Source

Schema representing a ActivityMarkedEvent

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.ActivityMarkedEvent{
  all_read: boolean(),
  all_seen: boolean(),
  created_at: DateTime.t() | integer() | String.t(),
  feed_id: String.t(),
  marked_read: [String.t()] | nil,
  marked_watched: [String.t()] | nil,
  type: String.t(),
  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()