Class NotificationSubscriptionCollectionRepresentation
- java.lang.Object
-
- com.cumulocity.rest.representation.BaseResourceRepresentation
-
- com.cumulocity.rest.representation.AbstractExtensibleRepresentation
-
- com.cumulocity.rest.representation.BaseResourceWithExplainRepresentation
-
- com.cumulocity.rest.representation.BaseCollectionRepresentation<NotificationSubscriptionRepresentation>
-
- com.cumulocity.rest.representation.reliable.notification.NotificationSubscriptionCollectionRepresentation
-
- All Implemented Interfaces:
ResourceRepresentation
,Iterable<NotificationSubscriptionRepresentation>
,org.svenson.DynamicProperties
- Direct Known Subclasses:
PagedNotificationSubscriptionCollectionRepresentation
public class NotificationSubscriptionCollectionRepresentation extends BaseCollectionRepresentation<NotificationSubscriptionRepresentation>
-
-
Constructor Summary
Constructors Constructor Description NotificationSubscriptionCollectionRepresentation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<NotificationSubscriptionRepresentation>
getSubscriptions()
Iterator<NotificationSubscriptionRepresentation>
iterator()
void
setSubscriptions(List<NotificationSubscriptionRepresentation> subscriptions)
-
Methods inherited from class com.cumulocity.rest.representation.BaseCollectionRepresentation
getNext, getPageStatistics, getPrev, setNext, setPageStatistics, setPrev
-
Methods inherited from class com.cumulocity.rest.representation.BaseResourceWithExplainRepresentation
getQueryPlanner, setQueryPlanner
-
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
setSubscriptions
public void setSubscriptions(List<NotificationSubscriptionRepresentation> subscriptions)
-
getSubscriptions
@JSONTypeHint(NotificationSubscriptionRepresentation.class) public List<NotificationSubscriptionRepresentation> getSubscriptions()
-
iterator
@JSONProperty(ignore=true) public Iterator<NotificationSubscriptionRepresentation> iterator()
-
-