Class UnwrappedResult<T>
java.lang.Object
org.craftercms.studio.model.rest.Result
org.craftercms.studio.model.rest.content.UnwrappedResult<T>
- Type Parameters:
T- the type of the result entity
Convenience generic decorator that unwraps (this means the result properties will be serialized
as if they were properties of its containing object) the result entity.
This is useful when the rest response should contain the same attributes
as the service result, additional to the
ApiResponse.-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.craftercms.studio.model.rest.Result
getResponse, setResponse
-
Constructor Details
-
UnwrappedResult
-
-
Method Details
-
getResult
-
of
-