# `ExStreamClient.Model.PolicyRequest`
[🔗](https://github.com/Tango-Tango/ex_stream_client/blob/main/lib/ex_stream_client/model/policy_request.ex#L1)

Schema representing a PolicyRequest

# `t`

```elixir
@type t() :: %ExStreamClient.Model.PolicyRequest{
  action: :Allow | :Deny,
  name: String.t(),
  owner: boolean(),
  priority: integer(),
  resources: [String.t()],
  roles: [String.t()]
}
```

# `decode`

Components could just be enums that are typed - so we need to decode those as enums as they will just be stings

# `nested_components`

---

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