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
=
UUID.randomUUID.toString
,
sender:
String
,
target:
Target
,
timeToLiveInSeconds:
Int
=
...
,
payloads:
MessagePayloads
,
metadata:
Map
[
String
,
String
]
,
importance:
Importance
)
extends
Product
with
Serializable
sealed
trait
NotificationType
extends
AnyRef
case class
Recipient
(
userId:
String
)
extends
Product
with
Serializable
case class
Target
(
regions:
Set
[
Edition
]
,
topics:
Set
[
Topic
]
)
extends
Product
with
Serializable
Value Members
object
AndroidKeys
object
AndroidMessagePayload
extends
Serializable
object
AndroidMessageTypes
object
IOSMessagePayload
extends
Serializable
object
IosKeys
object
IosMessageTypes
object
MessagePayloads
extends
Serializable
object
Notification
extends
Serializable
object
NotificationType
object
Recipient
extends
Serializable
object
Target
extends
Serializable
Ungrouped