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

Schema representing a CreateDeviceRequest

# `t`

```elixir
@type t() :: %ExStreamClient.Model.CreateDeviceRequest{
  id: String.t(),
  push_provider: :xiaomi | :huawei | :apn | :firebase,
  push_provider_name: String.t() | nil,
  user: ExStreamClient.Model.UserRequest.t() | nil,
  user_id: String.t() | nil,
  voip_token: boolean() | nil
}
```

# `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*
