ExStreamClient.Model.TextRuleParameters (ExStreamClient v0.1.13)

View Source

Schema representing a TextRuleParameters

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.TextRuleParameters{
  blocklist_match: [String.t()] | nil,
  contains_url: boolean() | nil,
  harm_labels: [String.t()] | nil,
  severity: String.t() | nil,
  threshold: integer(),
  time_window: 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()