Class ContentLanguageResponse
java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.ContentLanguageResponse
- All Implemented Interfaces:
Serializable
Response containing a single content language
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate empty instanceContentLanguageResponse
(ResponseInfo info, ContentLanguage language) Create instance with language and response info -
Method Summary
Modifier and TypeMethodDescriptionContent Languagevoid
setLangage
(ContentLanguage language) Set languageMethods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
Constructor Details
-
ContentLanguageResponse
public ContentLanguageResponse()Create empty instance -
ContentLanguageResponse
Create instance with language and response info- Parameters:
info
- response infolanguage
- language
-
-
Method Details
-
getLanguage
Content Language- Returns:
- language
-
setLangage
Set language- Parameters:
language
- language
-