Class NodeSettingsResponse
java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.NodeSettingsResponse
- All Implemented Interfaces:
Serializable
Response to a request for loading node specific settings.
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate an empty instance.NodeSettingsResponse
(com.fasterxml.jackson.databind.JsonNode data, ResponseInfo responseInfo) Create an instance with the given settings and response information, but without message.NodeSettingsResponse
(Message message, ResponseInfo responseInfo) Create an instance with empty settings and given message and response information. -
Method Summary
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
Constructor Details
-
NodeSettingsResponse
public NodeSettingsResponse()Create an empty instance. -
NodeSettingsResponse
Create an instance with empty settings and given message and response information.- Parameters:
responseInfo
- The response information
-
NodeSettingsResponse
public NodeSettingsResponse(com.fasterxml.jackson.databind.JsonNode data, ResponseInfo responseInfo) Create an instance with the given settings and response information, but without message.- Parameters:
data
- The node settingsresponseInfo
- The response information
-
-
Method Details
-
getData
public com.fasterxml.jackson.databind.JsonNode getData()Get the loaded node settings.- Returns:
- The loaded node settings
-
setData
public void setData(com.fasterxml.jackson.databind.JsonNode data) Set the loaded node settings.- Parameters:
data
- The loaded node settings
-