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

Schema representing a UpsertPushPreferencesResponse

# `t`

```elixir
@type t() :: %ExStreamClient.Model.UpsertPushPreferencesResponse{
  duration: String.t(),
  user_channel_preferences: %{
    optional(String.t()) =&gt; %{
      optional(String.t()) =&gt;
        ExStreamClient.Model.ChannelPushPreferencesResponse.t()
    }
  },
  user_preferences: %{
    optional(String.t()) =&gt; ExStreamClient.Model.PushPreferencesResponse.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*
