View Source SmartCity.DatasetAccessGroupRelation (smart_city v6.0.0)

Defines a dataset access group association.

Link to this section Summary

Functions

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

Link to this section Types

@type access_group_id() :: SmartCity.AccessGroup.id()
@type dataset_id() :: SmartCity.Dataset.id()
@type t() :: %SmartCity.DatasetAccessGroupRelation{
  access_group_id: access_group_id(),
  dataset_id: dataset_id()
}

Link to this section Functions

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

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