com.gu.mobile.notifications.client

models

package models

Visibility
  1. Public
  2. All

Type Members

  1. case class BreakingNewsPayload(id: String = UUID.randomUUID.toString, title: String = "The Guardian", message: String, thumbnailUrl: Option[URI], sender: String, link: Link, imageUrl: Option[URI], importance: Importance, topic: Set[Topic], debug: Boolean) extends NotificationWithLink with Product with Serializable

  2. case class ContentAlertPayload(id: String = UUID.randomUUID.toString, title: String, message: String, thumbnailUrl: Option[URI], sender: String, link: Link, imageUrl: Option[URI] = None, importance: Importance, topic: Set[Topic], debug: Boolean) extends NotificationWithLink with Product with Serializable

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

  4. case class GoalAlertPayload(id: String = UUID.randomUUID.toString, title: String, message: String, thumbnailUrl: Option[URI] = None, sender: String, goalType: GoalType, awayTeamName: String, awayTeamScore: Int, homeTeamName: String, homeTeamScore: Int, scoringTeamName: String, scorerName: String, goalMins: Int, otherTeamName: String, matchId: String, mapiUrl: URI, 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, blockId: Option[String] = None) 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 NotificationPayloadType extends AnyRef

  12. sealed trait NotificationWithLink extends NotificationPayload

  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 Topic(type: TopicType, name: String) extends Product with Serializable

  15. sealed trait TopicType extends AnyRef

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

Value Members

  1. object BreakingNewsPayload extends Serializable

  2. object ContentAlertPayload extends Serializable

  3. object DefaultGoalType extends GoalType

  4. object Editions

  5. object ExternalLink extends Serializable

  6. object GITContent extends GuardianItemType

  7. object GITSection extends GuardianItemType

  8. object GITTag extends GuardianItemType

  9. object GoalAlertPayload extends Serializable

  10. object GoalType

  11. object GuardianItemType extends Serializable

  12. object GuardianLinkDetails extends Serializable

  13. object Importance

  14. object Link

  15. object NotificationPayload

  16. object NotificationPayloadType

  17. object Ok extends Healthcheck with Product with Serializable

  18. object OwnGoalType extends GoalType

  19. object PenaltyGoalType extends GoalType

  20. object SendNotificationReply extends Serializable

  21. object Topic extends Serializable

  22. object TopicType

  23. object TopicTypes

  24. package legacy

Ungrouped