package models
- Alphabetic
- Public
- Protected
Type Members
- 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
- 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
- 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
- case class BadgeNotification(add_num: Option[Int] = None, class: Option[String] = None, set_num: Option[Int] = None) extends Product with Serializable
BadgeNotification model.
- 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
- 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.
- 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.
- 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.
- case class Condition(conditionText: String) extends NotificationTarget with Product with Serializable
Condition model.
- final case class ErrorResponse(rawError: String) extends Response with Product with Serializable
- 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.
- sealed trait NotificationTarget extends AnyRef
- 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
- final case class PushKitResponse(code: String, msg: String, requestId: String) extends Response with Product with Serializable
- sealed trait Response extends AnyRef
- case class Tokens(token: Seq[String]) extends NotificationTarget with Product with Serializable
Tokens model.
- case class Topic(topic: String) extends NotificationTarget with Product with Serializable
Topic model.
- case class WebActions(action: Option[String] = None, icon: Option[String] = None, title: Option[String] = None) extends Product with Serializable
WebActions model.
- 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
- 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
- object AndroidConfig extends Serializable
- object AndroidNotification extends Serializable
- object ApnsConfig extends Serializable
- object BadgeNotification extends Serializable
- object BasicNotification extends Serializable
- object Button extends Serializable
- object ClickAction extends Serializable
- object Color extends Serializable
- object Condition extends Serializable
- object LightSettings extends Serializable
- object PushKitNotification extends Serializable
- object WebActions extends Serializable
- object WebConfig extends Serializable
- object WebNotification extends Serializable