# `ExScim.Resources.Resource`
[🔗](https://github.com/ExScim/ex_scim/blob/main/lib/ex_scim/resources/resource.ex#L1)

Protocol for SCIM resource operations.

# `t`

```elixir
@type t() :: term()
```

All the types that implement this protocol.

# `get_external_id`

Returns the external ID (provider-assigned) of the resource, or `nil`.

# `get_id`

Returns the internal ID of the resource, or `nil` if not yet assigned.

# `set_id`

Returns a new resource with the given ID set.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
