Humaans.Resources.Webhook (Humaans v0.6.0)

Copy Markdown View Source

Representation of a Webhook resource.

Summary

Types

t()

@type t() :: %Humaans.Resources.Webhook{
  company_id: binary() | nil,
  created_at: DateTime.t() | nil,
  events: [String.t()] | nil,
  id: binary() | nil,
  updated_at: DateTime.t() | nil,
  url: binary() | nil
}

Functions

build(map_or_kwlist, opts \\ [])

@spec build(ExConstructor.map_or_kwlist(), Keyword.t()) :: %Humaans.Resources.Webhook{
  company_id: term(),
  created_at: term(),
  events: term(),
  id: term(),
  updated_at: term(),
  url: term()
}

new(data)