Humaans.Resources.CustomField (Humaans v0.6.0)

Copy Markdown View Source

Representation of a Custom Field resource.

Summary

Types

t()

@type t() :: %Humaans.Resources.CustomField{
  company_id: binary() | nil,
  config: map() | nil,
  created_at: DateTime.t() | nil,
  id: binary() | nil,
  name: binary() | nil,
  resource_id: binary() | nil,
  section: binary() | nil,
  type: binary() | nil,
  updated_at: DateTime.t() | nil
}

Functions

build(map_or_kwlist, opts \\ [])

@spec build(ExConstructor.map_or_kwlist(), Keyword.t()) ::
  %Humaans.Resources.CustomField{
    company_id: term(),
    config: term(),
    created_at: term(),
    id: term(),
    name: term(),
    resource_id: term(),
    section: term(),
    type: term(),
    updated_at: term()
  }

new(data)