Package zendesk.chat

Class 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 or null 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 or null depending on the type of this push data.
        See Also:
        PushData.Type
      • getTimestamp

        public long getTimestamp()
        Returns the timestamp in UTC time zone.