View Source SmartCity.UserAccessGroupRelation (smart_city v6.0.0)

Defines a user access group relation.

Link to this section Summary

Functions

Instantiates an instance of a user access group relation event struct.

Link to this section Types

@type access_group_id() :: SmartCity.AccessGroup.id()
@type subject_id() :: String.t()
@type t() :: %SmartCity.UserAccessGroupRelation{
  access_group_id: access_group_id(),
  subject_id: subject_id()
}

Link to this section Functions

@spec new(String.t() | map()) :: {:ok, map()} | {:error, String.t()}

Instantiates an instance of a user access group relation event struct.