code: private GitLabApiForm createGitLabApiForm() {
          GitLabApiForm formData = new GitLabApiForm();
          return (customAttributesEnabled ? formData.withParam("with_custom_attributes", true) : formData);
      }
docs: Creates a GitLabApiForm instance that will optionally include the
  with_custom_attributes query param if enabled.
  
  @return a GitLabApiForm instance that will optionally include the
  with_custom_attributes query param if enabled