Inttegro.FileLinks.Kind (inttegro v0.2.0)

Copy Markdown View Source

Values accepted for Kind in the FileLinks API.

Prefer the documented atoms returned by values/0. The type also accepts strings so a newer server value can be preserved by an older SDK instead of failing during decoding.

Creates controlled links for delivering files.

File links can be time-limited, revocable, and protected by a token. Creating and administering links requires a secret key; opening a link uses its public ID and token and intentionally does not send the application's secret key.

Summary

Types

t()

A kind atom or an unknown wire value preserved as a string.

Functions

Returns the documented Inttegro.FileLinks.Kind atoms known by this SDK version.

Types

t()

@type t() :: :public | String.t()

A kind atom or an unknown wire value preserved as a string.

Functions

values()

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

Returns the documented Inttegro.FileLinks.Kind atoms known by this SDK version.