ExStreamClient.Model.LabelsRequest (ExStreamClient v0.2.0)

Copy Markdown View Source

Schema representing a LabelsRequest

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.LabelsRequest{
  category: String.t() | nil,
  content: String.t(),
  content_id: String.t() | nil,
  content_type: (:username | :message | :text) | nil,
  dry_run: boolean() | nil,
  policy: 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()