# `Hunter.Role`
[🔗](https://github.com/milmazz/hunter/blob/v0.8.0/lib/hunter/role.ex#L1)

Role entity

A custom user role that grants permissions, shown on `Hunter.Account` as a
partial (only roles with a visible badge are returned)

## Fields

  * `id` - the ID of the role
  * `name` - the name of the role
  * `color` - the hex code assigned to this role, empty when no color

# `t`

```elixir
@type t() :: %Hunter.Role{color: String.t(), id: String.t(), name: String.t()}
```

---

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