Package zendesk.chat
Class PushData
- java.lang.Object
-
- zendesk.chat.PushData
-
public final class PushData extends java.lang.Object
Represents a push notification data sent by the Zendesk Chat backend.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static class
PushData.Type
Defines the type of the push data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.String
getAuthor()
Returns the author of this push data.java.lang.String
getMessage()
Returns a message ornull
depending on the type of this push data.long
getTimestamp()
Returns the timestamp in UTC time zone.PushData.Type
getType()
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 ornull
depending on the type of this push data.- See Also:
PushData.Type
-
getTimestamp
public long getTimestamp()
Returns the timestamp in UTC time zone.
-
-