Inttegro.ProductMedia (inttegro v0.1.0)

Copy Markdown View Source

Typed Inttegro domain value.

Summary

Types

t()

@type t() :: %Inttegro.ProductMedia{
  brand_logo: String.t() | nil,
  demo_video: String.t() | nil,
  downloads: [String.t()] | nil,
  gallery: [String.t()] | nil,
  hero_image: String.t() | nil,
  infographic: String.t() | nil,
  promo_video: String.t() | nil,
  thumbnail: String.t() | nil,
  web_page_url: String.t() | 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()