code: @Deprecated
    public static HalResource createResource(Object model, String href) {
      return new HalResource(new HalResource(model).getModel(), href);
    }
docs: Creates a HAL resource with state and a self link.
  @param model The state of the resource
  @param href The self link for the resource
  @return New HAL resource
  @deprecated just create {@link HalResource} and {@link Link} instances using the new constructors