Class NotificationTokenRequestRepresentation

java.lang.Object
com.cumulocity.rest.representation.BaseResourceRepresentation
com.cumulocity.rest.representation.AbstractExtensibleRepresentation
com.cumulocity.rest.representation.reliable.notification.NotificationTokenRequestRepresentation
All Implemented Interfaces:
ResourceRepresentation, org.svenson.DynamicProperties

public class NotificationTokenRequestRepresentation extends AbstractExtensibleRepresentation
  • Constructor Details

    • NotificationTokenRequestRepresentation

      public NotificationTokenRequestRepresentation(String subscriber, String subscription, long expiresInMinutes, boolean shared)
    • NotificationTokenRequestRepresentation

      public NotificationTokenRequestRepresentation(String subscriber, String subscription, long expiresInMinutes, boolean shared, boolean nonPersistent)
    • NotificationTokenRequestRepresentation

      public NotificationTokenRequestRepresentation()
    • NotificationTokenRequestRepresentation

      public NotificationTokenRequestRepresentation(String subscriber, String subscription, String type, boolean signed, long expiresInMinutes, boolean shared, boolean nonPersistent)
  • Method Details

    • setSubscriber

      public void setSubscriber(String subscriber)
    • setSubscription

      public void setSubscription(String subscription)
    • setType

      public void setType(String type)
    • setSigned

      public void setSigned(boolean signed)
    • setExpiresInMinutes

      public void setExpiresInMinutes(long expiresInMinutes)
    • setShared

      public void setShared(boolean shared)
    • setNonPersistent

      public void setNonPersistent(boolean nonPersistent)
    • getSubscriber

      @JSONProperty(ignoreIfNull=true) public String getSubscriber()
    • getSubscription

      @JSONProperty(ignoreIfNull=true) public String getSubscription()
    • getType

      @JSONProperty(ignoreIfNull=true) public String getType()
    • isSigned

      @JSONProperty(ignoreIfNull=true) public boolean isSigned()
    • getExpiresInMinutes

      @JSONProperty(ignoreIfNull=true) public long getExpiresInMinutes()
    • isShared

      @JSONProperty(ignoreIfNull=true) public boolean isShared()
    • isNonPersistent

      @JSONProperty(ignoreIfNull=true) public boolean isNonPersistent()