com.gu.mobile.notifications.client.models

legacy

package legacy

Visibility
  1. Public
  2. All

Type Members

  1. case class AndroidMessagePayload(body: Map[String, String]) extends MessagePayload with Product with Serializable

  2. case class IOSMessagePayload(body: String, customProperties: Map[String, String], category: Option[String] = None) extends MessagePayload with Product with Serializable

  3. sealed trait MessagePayload extends AnyRef

  4. case class MessagePayloads(ios: Option[IOSMessagePayload], android: Option[AndroidMessagePayload]) extends Product with Serializable

  5. case class Notification(type: NotificationType, uniqueIdentifier: String = UUID.randomUUID.toString, sender: String, target: Target, timeToLiveInSeconds: Int = 60 * 60 * 2, payloads: MessagePayloads, metadata: Map[String, String]) extends Product with Serializable

  6. sealed trait NotificationType extends AnyRef

  7. case class Recipient(userId: String) extends Product with Serializable

  8. case class Target(regions: Set[Edition], topics: Set[Topic]) extends Product with Serializable

Value Members

  1. object AndroidKeys

  2. object AndroidMessagePayload extends Serializable

  3. object AndroidMessageTypes

  4. object IOSMessagePayload extends Serializable

  5. object IosKeys

  6. object IosMessageTypes

  7. object MessagePayloads extends Serializable

  8. object Notification extends Serializable

  9. object NotificationType

  10. object Recipient extends Serializable

  11. object Target extends Serializable

Ungrouped