Class NotificationSubscriptionRepresentation
java.lang.Object
com.cumulocity.rest.representation.BaseResourceRepresentation
com.cumulocity.rest.representation.AbstractExtensibleRepresentation
com.cumulocity.rest.representation.reliable.notification.NotificationSubscriptionRepresentation
- All Implemented Interfaces:
ResourceRepresentation
,SourceableRepresentation
,Cloneable
,org.svenson.DynamicProperties
public class NotificationSubscriptionRepresentation
extends AbstractExtensibleRepresentation
implements Cloneable, SourceableRepresentation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
clone()
getId()
boolean
void
setContext
(String context) void
setFragmentsToCopy
(List<String> fragmentsToCopy) void
void
setNonPersistent
(boolean nonPersistent) void
setSource
(ManagedObjectRepresentation source) void
setSubscription
(String subscription) void
setSubscriptionFilter
(NotificationSubscriptionFilterRepresentation subscriptionFilter) Methods inherited from class com.cumulocity.rest.representation.AbstractExtensibleRepresentation
get, get, getAttrs, getProperty, hasProperty, propertyNames, removeProperty, set, set, set, setAttrs, setProperty
Methods inherited from class com.cumulocity.rest.representation.BaseResourceRepresentation
getSelf, getSelfDecoded, setSelf, toJSON, toString
-
Constructor Details
-
NotificationSubscriptionRepresentation
public NotificationSubscriptionRepresentation()
-
-
Method Details
-
setId
-
getId
-
setContext
-
getContext
-
isNonPersistent
@JSONProperty(ignoreIfNull=true) public boolean isNonPersistent() -
setNonPersistent
public void setNonPersistent(boolean nonPersistent) -
setSubscription
-
getSubscription
-
setSubscriptionFilter
-
getSubscriptionFilter
@JSONProperty(ignoreIfNull=true) public NotificationSubscriptionFilterRepresentation getSubscriptionFilter() -
setFragmentsToCopy
-
getFragmentsToCopy
-
setSource
- Specified by:
setSource
in interfaceSourceableRepresentation
-
getSource
- Specified by:
getSource
in interfaceSourceableRepresentation
-
clone
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-