in notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/apns/models/payload/CustomProperty.scala [13:73]
def apply(tuple: (String, String)): CustomPropertyString =
CustomPropertyString(tuple._1, tuple._2)
def apply(tuple: (String, Int)): CustomPropertyInt =
CustomPropertyInt(tuple._1, tuple._2)
def apply[A](tuple: (String, Seq[CustomProperty])): CustomPropertySeq[A] =
CustomPropertySeq(tuple._1, tuple._2)
object Keys {
final val MessageType = "t"
final val NotificationType = "notificationType"
final val Link = "link"
final val Topics = "topics"
final val Uri = "uri"
final val UriType = "uriType"
final val ImageUrl = "imageUrl"
final val Provider = "provider"
final val UniqueIdentifier = "uniqueIdentifier"
final val FootballMatch = "footballMatch"
final val HomeTeamName = "homeTeamName"
final val HomeTeamId = "homeTeamId"
final val HomeTeamScore = "homeTeamScore"
final val HomeTeamText = "homeTeamText"
final val AwayTeamName = "awayTeamName"
final val AwayTeamId = "awayTeamId"
final val AwayTeamScore = "awayTeamScore"
final val AwayTeamText = "awayTeamText"
final val CurrentMinute = "currentMinute"
final val MatchStatus = "matchStatus"
final val MatchId = "matchId"
final val MapiUrl = "mapiUrl"
final val MatchInfoUri = "matchInfoUri"
final val ArticleUri = "articleUri"
final val CompetitionName = "competitionName"
final val Venue = "venue"
final val UsElection2020 = "usElection2020"
final val ExpandedTitle = "expandedTitle"
final val LeftCandidateName = "leftCandidateName"
final val LeftCandidateColour = "leftCandidateColour"
final val LeftCandidateColourDark = "leftCandidateColourDark"
final val LeftCandidateDelegates = "leftCandidateDelegates"
final val LeftCandidateVoteShare = "leftCandidateVoteShare"
final val RightCandidateName = "rightCandidateName"
final val RightCandidateColour = "rightCandidateColour"
final val RightCandidateColourDark = "rightCandidateColourDark"
final val RightCandidateDelegates = "rightCandidateDelegates"
final val RightCandidateVoteShare = "rightCandidateVoteShare"
final val TotalDelegates = "totalDelegates"
final val DelegatesToWin = "delegatesToWin"
final val ExpandedMessage = "expandedMessage"
final val Button1Text = "button1Text"
final val Button1Url = "button1Url"
final val Button2Text = "button2Text"
final val Button2Url = "button2Url"
final val StopButtonText = "stopButtonText"
final val EditionsDate = "date"
final val EditionsKey = "key"
final val EditionsName = "name"
}