WorkOS.PaginationOrder (WorkOS SDK for Elixir v3.0.1)

Copy Markdown View Source

PaginationOrder enum.

Summary

Functions

Casts a wire string to its atom; unknown values pass through unchanged.

Dumps an atom back to its wire string.

All known values.

Types

t()

@type t() :: :normal | :desc | :asc

Functions

cast(other)

@spec cast(String.t() | nil) :: t() | String.t() | nil

Casts a wire string to its atom; unknown values pass through unchanged.

dump(other)

@spec dump(t() | String.t()) :: String.t()

Dumps an atom back to its wire string.

values()

@spec values() :: [t()]

All known values.