public class PagedOperationCollectionRepresentation extends OperationCollectionRepresentation implements PagedCollectionRepresentation<OperationRepresentation>
Constructor and Description |
---|
PagedOperationCollectionRepresentation(OperationCollectionRepresentation collection,
PagedCollectionResource<OperationRepresentation,? extends OperationCollectionRepresentation> collectionResource) |
Modifier and Type | Method and Description |
---|---|
Iterable<OperationRepresentation> |
allPages() |
Iterable<OperationRepresentation> |
elements(int limit) |
getOperations, iterator, setOperations
getNext, getPageStatistics, getPrev, setNext, setPageStatistics, setPrev
getSelf, getSelfDecoded, setSelf, toJSON, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public PagedOperationCollectionRepresentation(OperationCollectionRepresentation collection, PagedCollectionResource<OperationRepresentation,? extends OperationCollectionRepresentation> collectionResource)
public Iterable<OperationRepresentation> allPages()
allPages
in interface PagedCollectionRepresentation<OperationRepresentation>
public Iterable<OperationRepresentation> elements(int limit)
elements
in interface PagedCollectionRepresentation<OperationRepresentation>
Copyright © 2020 (C) Cumulocity GmbH. All rights reserved.