Inttegro.FileMedia (inttegro v0.1.0)

Copy Markdown View Source

Typed Inttegro domain value.

Summary

Types

t()

@type t() :: %Inttegro.FileMedia{
  aspect_ratio: String.t() | nil,
  codec: String.t() | nil,
  color_space: String.t() | nil,
  duration_ms: integer() | nil,
  frame_count: integer() | nil,
  has_alpha: boolean() | nil,
  height: integer() | nil,
  kind: String.t() | nil,
  page_count: integer() | nil,
  width: 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()