Inttegro.UploadRequests.UploadRequestAttempts (inttegro v0.1.1)

Copy Markdown View Source

Typed Inttegro domain value.

Summary

Types

t()

@type t() :: %Inttegro.UploadRequests.UploadRequestAttempts{
  attempt_count: integer(),
  failed_attempt_count: integer(),
  last_attempted_at: String.t() | nil,
  max_attempts: 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()