Packages

package models

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. case class AndroidConfig(collapse_key: Option[Int] = None, ttl: Option[String] = None, bi_tag: Option[String] = None, receipt_id: Option[String] = None, fast_app_target: Option[Int] = None, data: Option[String] = None, notification: Option[AndroidNotification] = None) extends Product with Serializable

    AndroidConfig model.

    AndroidConfig model.

    See also

    https://developer.huawei.com/consumer/en/doc/development/HMSCore-References-V5/https-send-api-0000001050986197-V5#EN-US_TOPIC_0000001134031085

  2. case class AndroidNotification(title: Option[String] = None, body: Option[String] = None, icon: Option[String] = None, color: Option[String] = None, sound: Option[String] = None, default_sound: Option[Boolean] = None, tag: Option[String] = None, click_action: Option[ClickAction] = None, body_loc_key: Option[String] = None, body_loc_args: Option[Seq[String]] = None, title_loc_key: Option[String] = None, title_loc_args: Option[Seq[String]] = None, multi_lang_key: Option[String] = None, channel_id: Option[String] = None, notify_summary: Option[String] = None, image: Option[String] = None, style: Option[Int] = None, big_title: Option[String] = None, big_body: Option[String] = None, auto_clear: Option[Int] = None, notify_id: Option[Int] = None, group: Option[String] = None, badge: Option[BadgeNotification] = None, ticker: Option[String] = None, when: Option[String] = None, importance: Option[String] = None, use_default_vibrate: Option[Boolean] = None, use_default_light: Option[Boolean] = None, vibrate_config: Option[Seq[String]] = None, visibility: Option[String] = None, light_settings: Option[LightSettings] = None, foreground_show: Option[Boolean] = None, profile_id: Option[String] = None, inbox_content: Option[Seq[String]] = None, buttons: Option[Seq[Button]] = None) extends Product with Serializable

    AndroidNotification model.

    AndroidNotification model.

    See also

    https://developer.huawei.com/consumer/en/doc/development/HMSCore-References-V5/https-send-api-0000001050986197-V5#EN-US_TOPIC_0000001134031085

  3. case class ApnsConfig(hms_options: Option[String] = None, headers: Option[String] = None, payload: Option[String] = None) extends Product with Serializable

    ApnsConfig model.

    ApnsConfig model.

    See also

    https://developer.huawei.com/consumer/en/doc/development/HMSCore-References-V5/https-send-api-0000001050986197-V5#EN-US_TOPIC_0000001134031085

  4. case class BadgeNotification(add_num: Option[Int] = None, class: Option[String] = None, set_num: Option[Int] = None) extends Product with Serializable

    BadgeNotification model.

  5. case class BasicNotification(title: Option[String] = None, body: Option[String] = None, image: Option[String] = None) extends Product with Serializable

    Notification model.

    Notification model.

    See also

    https://developer.huawei.com/consumer/en/doc/development/HMSCore-References-V5/https-send-api-0000001050986197-V5#EN-US_TOPIC_0000001134031085

  6. case class Button(name: Option[String] = None, action_type: Option[Int] = None, intent_type: Option[Int] = None, intent: Option[String] = None, data: Option[String] = None) extends Product with Serializable

    Button model.

  7. case class ClickAction(type: Option[Int] = None, intent: Option[String] = None, url: Option[String] = None, action: Option[String] = None) extends Product with Serializable

    Click Action model.

  8. case class Color(alpha: Option[Float] = None, red: Option[Float] = None, green: Option[Float] = None, blue: Option[Float] = None) extends Product with Serializable

    Color model.

  9. case class Condition(conditionText: String) extends NotificationTarget with Product with Serializable

    Condition model.

  10. final case class ErrorResponse(rawError: String) extends Response with Product with Serializable
  11. case class LightSettings(color: Option[Color] = None, light_on_duration: Option[String] = None, light_off_duration: Option[String] = None) extends Product with Serializable

    LightSettings model.

  12. sealed trait NotificationTarget extends AnyRef
  13. case class PushKitNotification(data: Option[String] = None, notification: Option[BasicNotification] = None, android: Option[AndroidConfig] = None, apns: Option[ApnsConfig] = None, webpush: Option[WebConfig] = None, token: Option[Seq[String]] = None, topic: Option[String] = None, condition: Option[String] = None) extends Product with Serializable

    Message model.

    Message model.

    See also

    https://developer.huawei.com/consumer/en/doc/development/HMSCore-References-V5/https-send-api-0000001050986197-V5#EN-US_TOPIC_0000001134031085

  14. final case class PushKitResponse(code: String, msg: String, requestId: String) extends Response with Product with Serializable
  15. sealed trait Response extends AnyRef
  16. case class Tokens(token: Seq[String]) extends NotificationTarget with Product with Serializable

    Tokens model.

  17. case class Topic(topic: String) extends NotificationTarget with Product with Serializable

    Topic model.

  18. case class WebActions(action: Option[String] = None, icon: Option[String] = None, title: Option[String] = None) extends Product with Serializable

    WebActions model.

  19. case class WebConfig(hms_options: Option[String] = None, headers: Option[Map[String, String]] = None, notification: Option[WebNotification] = None) extends Product with Serializable

    WebPushConfig model.

    WebPushConfig model.

    See also

    https://developer.huawei.com/consumer/en/doc/development/HMSCore-References-V5/https-send-api-0000001050986197-V5#EN-US_TOPIC_0000001134031085

  20. case class WebNotification(title: Option[String] = None, body: Option[String] = None, icon: Option[String] = None, image: Option[String] = None, lang: Option[String] = None, tag: Option[String] = None, badge: Option[String] = None, dir: Option[String] = None, vibrate: Option[Seq[Int]] = None, renotify: Option[Boolean] = None, require_interaction: Option[Boolean] = None, silent: Option[Boolean] = None, timestamp: Option[Long] = None, actions: Option[Seq[WebActions]] = None) extends Product with Serializable

    WebNotification model.

Value Members

  1. object AndroidConfig extends Serializable
  2. object AndroidNotification extends Serializable
  3. object ApnsConfig extends Serializable
  4. object BadgeNotification extends Serializable
  5. object BasicNotification extends Serializable
  6. object Button extends Serializable
  7. object ClickAction extends Serializable
  8. object Color extends Serializable
  9. object Condition extends Serializable
  10. object LightSettings extends Serializable
  11. object PushKitNotification extends Serializable
  12. object WebActions extends Serializable
  13. object WebConfig extends Serializable
  14. object WebNotification extends Serializable

Ungrouped