com.gu.mobile.notifications.client

models

package models

Visibility
  1. Public
  2. All

Type Members

  1. case class BreakingNewsPayload(title: String, notificationType: String = "news", message: String, thumbnailUrl: Option[URL], sender: String, editions: Set[String], link: Link, imageUrl: Option[String], importance: Importance, topic: Set[Topic], debug: Boolean) extends NotificationWithLink with Product with Serializable

  2. case class ContentAlertPayload(title: String, notificationType: String = "content", message: String, thumbnailUrl: Option[URL], sender: String, link: Link, importance: Importance, topic: Set[Topic], debug: Boolean, shortUrl: String) extends NotificationWithLink with Product with Serializable

  3. case class ExternalLink(url: String) extends Link with Product with Serializable

  4. case class GoalAlertPayload(title: String, notificationType: String = "goal", message: String, thumbnailUrl: Option[URL] = scala.None, sender: String, goalType: GoalType, awayTeamName: String, awayTeamScore: Int, homeTeamName: String, homeTeamScore: Int, scoringTeamName: String, scorerName: String, goalMins: Int, otherTeamName: String, matchId: String, mapiUrl: String, importance: Importance, topic: Set[Topic], debug: Boolean, addedTime: Option[String]) extends NotificationPayload with Product with Serializable

  5. sealed trait GoalType extends AnyRef

  6. sealed case class GuardianItemType(mobileAggregatorPrefix: String) extends Product with Serializable

  7. case class GuardianLinkDetails(contentApiId: String, shortUrl: Option[String], title: String, thumbnail: Option[String], git: GuardianItemType) extends Link with Product with Serializable

  8. sealed trait Healthcheck extends AnyRef

  9. sealed trait Link extends AnyRef

  10. sealed trait NotificationPayload extends AnyRef

  11. sealed trait NotificationWithLink extends NotificationPayload

  12. sealed trait PayloadType extends AnyRef

  13. case class SendNotificationReply(messageId: String) extends Product with Serializable

    Acknowledgement of notification with a message ID for looking up statistics on that message

  14. case class Unhealthy(errorCode: Option[Int] = scala.None) extends Healthcheck with Product with Serializable

Value Members

  1. object BreakingNewsPayloadType extends PayloadType

  2. object ContentAlertPayloadType extends PayloadType

  3. object DefaultGoalType extends GoalType

  4. object GITContent extends GuardianItemType

  5. object GITSection extends GuardianItemType

  6. object GITTag extends GuardianItemType

  7. object GoalAlertPayloadType extends PayloadType

  8. object Importance

  9. object NotificationTypes

  10. object Ok extends Healthcheck with Product with Serializable

  11. object OwnGoalType extends GoalType

  12. object PenaltyGoalType extends GoalType

  13. object Regions

  14. object SendNotificationReply extends Serializable

  15. package legacy

Ungrouped