AccessGrid.LandingPage (AccessGrid v0.1.0)

Copy Markdown View Source

Account-scoped landing page where pass holders are directed before installing a pass. Returned by AccessGrid.Console.list_landing_pages/1, AccessGrid.Console.create_landing_page/2, and AccessGrid.Console.update_landing_page/3.

Summary

Functions

Creates a LandingPage struct from an API response map.

Types

t()

@type t() :: %AccessGrid.LandingPage{
  created_at: String.t() | nil,
  id: String.t() | nil,
  kind: String.t() | nil,
  logo_url: String.t() | nil,
  name: String.t() | nil,
  password_protected: boolean() | nil
}

Functions

from_response(data)

@spec from_response(map()) :: t()

Creates a LandingPage struct from an API response map.