|Constructor and Description|
|Modifier and Type||Method and Description|
Creates a RestEntity that wraps the provided entity.
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public <T> RestEntity<T> create(T entity, boolean graphql)
Any fields referenced by the entity that have the RestEnrichable annotation will also be converted to RestEntities.
Fields annotated with JsonProperty that implement Iterable will have their contents converted to RestEntities if the content class has the RestEnrichable annotation. Likewise Maps will have their values converted.
Copyright © 2003–2020 Atlassian. All rights reserved.