Class LanguageResponse
java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.LanguageResponse
- All Implemented Interfaces:
Serializable
Response containing the current session language
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
Field Details
-
code
Language code of the language
-
-
Constructor Details
-
LanguageResponse
public LanguageResponse()Create an empty instance
-
-
Method Details
-
getCode
Get the language code- Returns:
- language code
-
setCode
Set the language code- Parameters:
code
- language code
-