docs: protected Response validate(Response response, Response.Status expected) throws GitLabApiException {
  
          int responseCode = response.getStatus();
          int expectedResponseCode = expected.getStatusCode();
  
          if (responseCode != expectedResponseCode) {
  
              // If the expected code is 200-204 and the response code is 200-204 it is OK.  We do this because
              // GitLab is constantly changing the expected code in the 200 to 204 range
              if (expectedResponseCode > 204 || responseCode > 204 || expectedResponseCode < 200 || responseCode < 200)
                  throw new GitLabApiException(response);
          }
  
          if (!getApiClient().validateSecretToken(response)) {
              throw new GitLabApiException(new NotAuthorizedException("Invalid secret token in response."));
          }
  
          return (response);
      }