AshScim.Dsl.Map (ash_scim v0.1.0)

Copy Markdown View Source

Represents a single SCIM attribute mapping declared via map/2 in the scim section of a resource.

Each map binds a SCIM attribute name to either an Ash attribute on the resource (attribute:) or a static value (value:). Static values are useful for things like primary: true on a multivalued sub-attribute.

Summary

Types

t()

@type t() :: %AshScim.Dsl.Map{
  __spark_metadata__: term(),
  attribute: atom() | nil,
  case_exact?: boolean() | nil,
  mutability: :read_only | :read_write | :immutable | :write_only | nil,
  name: atom(),
  returned: :always | :never | :default | :request | nil,
  uniqueness: :none | :server | :global | nil,
  value: term()
}