Inttegro.FileLinkAccess (inttegro v0.1.0)

Copy Markdown View Source

Typed Inttegro domain value.

Summary

Types

t()

@type t() :: %Inttegro.FileLinkAccess{
  access_count: integer() | nil,
  allow_download: boolean() | nil,
  allowed_origins: [String.t()] | nil,
  last_accessed_at: String.t() | nil,
  max_accesses: integer() | nil
}

Functions

from_map(map)

@spec from_map(map()) :: t()

new!(attrs \\ %{})

@spec new!(map() | keyword()) :: t()

to_map(value)

@spec to_map(t()) :: map()