Humaans.Resources.RoleMember (Humaans v0.6.0)

Copy Markdown View Source

Representation of a Role Member resource.

Summary

Types

t()

@type t() :: %Humaans.Resources.RoleMember{
  id: binary() | nil,
  person_id: binary() | nil,
  role_id: binary() | nil
}

Functions

build(map_or_kwlist, opts \\ [])

@spec build(ExConstructor.map_or_kwlist(), Keyword.t()) ::
  %Humaans.Resources.RoleMember{
    id: term(),
    person_id: term(),
    role_id: term()
  }

new(data)