public class AsmRestServicesResponse extends Object implements Serializable
Constructor and Description |
---|
AsmRestServicesResponse()
Default constructor need to avoid exceptions when sending data via REST interface.
|
AsmRestServicesResponse(AsmRestServicesResultCode resultCode,
String message)
Creates the response by setting its data.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Gets the message of this response.
|
AsmRestServicesResultCode |
getResultCode()
Gets the result code of this response.
|
void |
setMessage(String message)
Sets the message of this response.
|
void |
setResultCode(AsmRestServicesResultCode resultCode)
Sets the result code of this response.
|
String |
toString() |
public AsmRestServicesResponse()
public AsmRestServicesResponse(AsmRestServicesResultCode resultCode, String message)
resultCode
- The response result code.resultMessage
- The response message.public AsmRestServicesResultCode getResultCode()
public void setResultCode(AsmRestServicesResultCode resultCode)
resultCode
- the resultCode to setpublic String getMessage()
public void setMessage(String message)
Message
- the Message to setCopyright © 2022 KOBIL Systems GmbH. All rights reserved.