Class SetLanguageRequest

java.lang.Object
com.gentics.contentnode.rest.model.request.SetLanguageRequest

public class SetLanguageRequest extends Object
Request to set the session language
  • Field Details

    • code

      protected String code
      Language code of the language to be set
  • Constructor Details

    • SetLanguageRequest

      public SetLanguageRequest()
      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