ExStreamClient.Model.PushProviderResponse (ExStreamClient v0.1.7)

View Source

Schema representing a PushProviderResponse

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.PushProviderResponse{
  apn_auth_key: String.t() | nil,
  apn_auth_type: String.t() | nil,
  apn_development: boolean() | nil,
  apn_host: String.t() | nil,
  apn_key_id: String.t() | nil,
  apn_p12_cert: String.t() | nil,
  apn_sandbox_certificate: boolean() | nil,
  apn_supports_remote_notifications: boolean() | nil,
  apn_supports_voip_notifications: boolean() | nil,
  apn_team_id: String.t() | nil,
  apn_topic: String.t() | nil,
  created_at: float(),
  description: String.t() | nil,
  disabled_at: float() | nil,
  disabled_reason: String.t() | nil,
  firebase_apn_template: String.t() | nil,
  firebase_credentials: String.t() | nil,
  firebase_data_template: String.t() | nil,
  firebase_host: String.t() | nil,
  firebase_notification_template: String.t() | nil,
  firebase_server_key: String.t() | nil,
  huawei_app_id: String.t() | nil,
  huawei_app_secret: String.t() | nil,
  name: String.t(),
  type: String.t(),
  updated_at: float(),
  xiaomi_app_secret: String.t() | nil,
  xiaomi_package_name: String.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()