ExStreamClient.Model.SetRetentionPolicyRequest (ExStreamClient v0.2.0)

Copy Markdown View Source

Schema representing a SetRetentionPolicyRequest

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.SetRetentionPolicyRequest{
  max_age_hours: integer(),
  policy: :"inactive-channels" | :"old-messages"
}

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()