ExStreamClient.Model.UpsertPushPreferencesResponse (ExStreamClient v0.1.7)

View Source

Schema representing a UpsertPushPreferencesResponse

Summary

Functions

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

Types

t()

@type t() :: %ExStreamClient.Model.UpsertPushPreferencesResponse{
  duration: String.t(),
  user_channel_preferences: %{
    optional(String.t()) => %{
      optional(String.t()) => ExStreamClient.Model.ChannelPushPreferences.t()
    }
  },
  user_preferences: %{
    optional(String.t()) => ExStreamClient.Model.PushPreferences.t()
  }
}

Functions

decode(map)

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

nested_components()