ExStreamClient.Model.FeedsNotificationTarget (ExStreamClient v0.2.0)

Copy Markdown View Source

Schema representing a FeedsNotificationTarget

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.FeedsNotificationTarget{
  attachments: [ExStreamClient.Model.Attachment.t()] | nil,
  comment: ExStreamClient.Model.FeedsNotificationComment.t() | nil,
  custom: %{optional(String.t()) => any()} | nil,
  id: String.t(),
  name: String.t() | nil,
  parent_activity:
    ExStreamClient.Model.FeedsNotificationParentActivity.t() | nil,
  text: String.t() | nil,
  type: String.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()