Class TenantCollectionRepresentation
- java.lang.Object
-
- com.cumulocity.rest.representation.BaseResourceRepresentation
-
- com.cumulocity.rest.representation.AbstractExtensibleRepresentation
-
- com.cumulocity.rest.representation.BaseResourceWithExplainRepresentation
-
- com.cumulocity.rest.representation.BaseCollectionRepresentation<TenantRepresentation>
-
- com.cumulocity.rest.representation.tenant.TenantCollectionRepresentation
-
- All Implemented Interfaces:
ResourceRepresentation
,Iterable<TenantRepresentation>
,org.svenson.DynamicProperties
public class TenantCollectionRepresentation extends BaseCollectionRepresentation<TenantRepresentation>
-
-
Constructor Summary
Constructors Constructor Description TenantCollectionRepresentation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TenantRepresentation>
getTenants()
Iterator<TenantRepresentation>
iterator()
void
setTenants(List<TenantRepresentation> tenants)
-
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
-
getTenants
public List<TenantRepresentation> getTenants()
-
setTenants
@JSONTypeHint(TenantRepresentation.class) public void setTenants(List<TenantRepresentation> tenants)
-
iterator
@JSONProperty(ignore=true) public Iterator<TenantRepresentation> iterator()
-
-