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
Constructors Constructor Description NotificationSubscriptionRepresentation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
clone()
String
getContext()
List<String>
getFragmentsToCopy()
GId
getId()
ManagedObjectRepresentation
getSource()
String
getSubscription()
NotificationSubscriptionFilterRepresentation
getSubscriptionFilter()
boolean
isNonPersistent()
void
setContext(String context)
void
setFragmentsToCopy(List<String> fragmentsToCopy)
void
setId(GId id)
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
-
-
-
-
Method Detail
-
setId
@JSONConverter(type=IDTypeConverter.class) public void setId(GId id)
-
getId
@JSONProperty(ignoreIfNull=true) public GId getId()
-
setContext
public void setContext(String context)
-
getContext
@JSONProperty(ignoreIfNull=true) public String getContext()
-
isNonPersistent
@JSONProperty(ignoreIfNull=true) public boolean isNonPersistent()
-
setNonPersistent
public void setNonPersistent(boolean nonPersistent)
-
setSubscription
public void setSubscription(String subscription)
-
getSubscription
@JSONProperty(ignoreIfNull=true) public String getSubscription()
-
setSubscriptionFilter
public void setSubscriptionFilter(NotificationSubscriptionFilterRepresentation subscriptionFilter)
-
getSubscriptionFilter
@JSONProperty(ignoreIfNull=true) public NotificationSubscriptionFilterRepresentation getSubscriptionFilter()
-
setSource
public void setSource(ManagedObjectRepresentation source)
- Specified by:
setSource
in interfaceSourceableRepresentation
-
getSource
@JSONProperty(ignoreIfNull=true) public ManagedObjectRepresentation getSource()
- Specified by:
getSource
in interfaceSourceableRepresentation
-
clone
protected Object clone() throws CloneNotSupportedException
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
-