@Beta public class ListResponse extends Object implements ResponseInterface
Constructor and Description |
---|
ListResponse()
Construtor to allow incremental building without an existing ListContent object
|
ListResponse(ListContent content)
Construtor to allow a building with an existing ListContent object
|
Modifier and Type | Method and Description |
---|---|
ListContent |
getContent()
Function which returns the current ListContent which is included in the reponse
|
String |
getType()
returns the present type, which is immutable to the user.
|
void |
setContent(ListContent content)
Function replaces the current ListContent object which is included in the reponse
|
public ListResponse(@Nonnull ListContent content)
content
- take a ListContent object to be part of the responsepublic ListResponse()
@Nullable public ListContent getContent()
public void setContent(@Nonnull ListContent content)
content
- the next ListContent object@Nullable public String getType()
getType
in interface ResponseInterface
Copyright © 2019 SAP SE. All rights reserved.