Class LanguageResponse

java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.LanguageResponse
All Implemented Interfaces:
Serializable

public class LanguageResponse extends GenericResponse
Response containing the current session language
See Also:
  • Field Details

    • code

      protected String code
      Language code of the language
  • Constructor Details

    • LanguageResponse

      public LanguageResponse()
      Create an empty instance
  • Method Details

    • getCode

      public String getCode()
      Get the language code
      Returns:
      language code
    • setCode

      public void setCode(String code)
      Set the language code
      Parameters:
      code - language code