|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.VersionResponse
public class VersionResponse
Response for a request asking for the version of the REST API on the server.
Constructor Summary | |
---|---|
VersionResponse()
Empty constructor needed by JAXB |
|
VersionResponse(Message message,
ResponseInfo responseInfo,
java.lang.String version)
Creates a VersionResponse with the provided single message, the ResponseInfo and the version as String |
Method Summary | |
---|---|
java.lang.String |
getVersion()
|
void |
setVersion(java.lang.String version)
|
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse |
---|
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VersionResponse()
public VersionResponse(Message message, ResponseInfo responseInfo, java.lang.String version)
message
- The messages that should be displayed to the userresponse
- ResponseInfo with the status of the responseMethod Detail |
---|
public java.lang.String getVersion()
public void setVersion(java.lang.String version)
version
- The current server version
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |