ExStreamClient.Model.PushPreferencesResponse (ExStreamClient v0.2.0)

Copy Markdown View Source

Schema representing a PushPreferencesResponse

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.PushPreferencesResponse{
  call_level: String.t() | nil,
  chat_level: String.t() | nil,
  chat_preferences: ExStreamClient.Model.ChatPreferencesResponse.t() | nil,
  disabled_until: (DateTime.t() | integer() | String.t()) | nil,
  feeds_level: String.t() | nil,
  feeds_preferences: ExStreamClient.Model.FeedsPreferencesResponse.t() | nil
}

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()