Class TelestoSubscriptionMessage

java.lang.Object
gg.xp.reevent.events.BaseEvent
gg.xp.telestosupport.subscriber.TelestoSubscriptionMessage
All Implemented Interfaces:
Event, HasPrimaryValue, Serializable

public class TelestoSubscriptionMessage extends BaseEvent implements HasPrimaryValue
See Also:
  • Constructor Details

    • TelestoSubscriptionMessage

      public TelestoSubscriptionMessage(int version, int id, String notificationId, String notificationType, Map<String,Object> payload)
  • Method Details

    • getVersion

      public int getVersion()
    • getId

      public int getId()
    • getNotificationId

      public String getNotificationId()
    • getNotificationType

      public String getNotificationType()
    • getPayload

      public Map<String,Object> getPayload()
    • shouldSave

      public boolean shouldSave()
      Specified by:
      shouldSave in interface Event
    • getPrimaryValue

      public String getPrimaryValue()
      Specified by:
      getPrimaryValue in interface HasPrimaryValue
      Returns:
      A text description of this object. Should be user-friendly and not over-the-top technical (fine-grained details belong in other fields, or in the Object.toString() method).
    • toString

      public String toString()
      Overrides:
      toString in class Object