docs: public HalConfiguration toHalConfiguration() {
  
  		if (this.getRenderSingleLinks() == RenderSingleLinks.AS_SINGLE) {
  			return new HalConfiguration().withRenderSingleLinks(HalConfiguration.RenderSingleLinks.AS_SINGLE);
  		}
  
  		if (this.getRenderSingleLinks() == RenderSingleLinks.AS_ARRAY) {
  			return new HalConfiguration().withRenderSingleLinks(HalConfiguration.RenderSingleLinks.AS_ARRAY);
  		}
  
  		throw new IllegalStateException("Don't know how to translate " + this);
  	}