@Beta public class MessageResponseWrapper extends Object
Be aware that this class is in Beta (as indicated by the annotation) and therefore subject to breaking changes.
Constructor and Description |
---|
MessageResponseWrapper() |
Modifier and Type | Method and Description |
---|---|
String |
getResponse()
This function generates the json representation of this object and returns it as a string to the user.
|
void |
setMessages(ResponseInterface[] messages)
Sets a message array to be sent out.
|
@Nullable public String getResponse()
public void setMessages(@Nonnull ResponseInterface[] messages)
messages
- an array with object followibng the response interface.Copyright © 2020 SAP SE. All rights reserved.