ExStreamClient.Model.RuleBuilderAction (ExStreamClient v0.1.13)

View Source

Schema representing a RuleBuilderAction

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.RuleBuilderAction{
  ban_options: ExStreamClient.Model.BanOptions.t() | nil,
  flag_content_options: ExStreamClient.Model.FlagContentOptions.t() | nil,
  flag_user_options: ExStreamClient.Model.FlagUserOptions.t() | nil,
  remove_content_options: ExStreamClient.Model.BlockContentOptions.t() | nil,
  type: 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()