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