com
.
gu
.
mobile
.
notifications
.
client
.
models
legacy
package
legacy
Visibility
Public
All
Type Members
case class
AndroidMessagePayload
(
body:
Map
[
String
,
String
]
)
extends
MessagePayload
with
Product
with
Serializable
case class
IOSMessagePayload
(
body:
String
,
customProperties:
Map
[
String
,
String
]
,
category:
Option
[
String
] =
None
)
extends
MessagePayload
with
Product
with
Serializable
sealed
trait
MessagePayload
extends
AnyRef
case class
MessagePayloads
(
ios:
Option
[
IOSMessagePayload
]
,
android:
Option
[
AndroidMessagePayload
]
)
extends
Product
with
Serializable
case class
Notification
(
type:
NotificationType
,
uniqueIdentifier:
String
,
sender:
String
,
target:
Target
,
timeToLiveInSeconds:
Int
,
payloads:
MessagePayloads
,
metadata:
Map
[
String
,
String
]
)
extends
Product
with
Serializable
case class
Recipient
(
userId:
String
)
extends
Product
with
Serializable
case class
Target
(
regions:
Set
[
Region
]
,
topics:
Set
[
Topic
]
)
extends
Product
with
Serializable
case class
Topic
(
type:
String
,
name:
String
)
extends
Product
with
Serializable
Generic topic for a push notification:
Generic topic for a push notification:
Examples:
Topic("football-match", "1234")
Topic("content", "/environment/2013/oct/21/britain-nuclear-power-station-hinkley-edf")
Value Members
object
AndroidMessagePayload
extends
Serializable
object
IOSMessagePayload
extends
Serializable
object
MessagePayloads
extends
Serializable
object
Notification
extends
Serializable
object
Recipient
extends
Serializable
object
Target
extends
Serializable
object
Topic
extends
Serializable
Ungrouped
Generic topic for a push notification:
Examples: