Package zendesk.chat
Class PushData
- java.lang.Object
-
- zendesk.chat.PushData
-
public final class PushData extends java.lang.ObjectRepresents a push notification data sent by the Zendesk Chat backend.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classPushData.TypeDefines the type of the push data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetAuthor()Returns the author of this push data.java.lang.StringgetMessage()Returns a message ornulldepending on the type of this push data.longgetTimestamp()Returns the timestamp in UTC time zone.PushData.TypegetType()Returns the type of this push data.
-
-
-
Method Detail
-
getType
public PushData.Type getType()
Returns the type of this push data.
-
getAuthor
public java.lang.String getAuthor()
Returns the author of this push data.
-
getMessage
public java.lang.String getMessage()
Returns a message ornulldepending on the type of this push data.- See Also:
PushData.Type
-
getTimestamp
public long getTimestamp()
Returns the timestamp in UTC time zone.
-
-