code: public Version getVersion() throws GitLabApiException {
  
          class VersionApi extends AbstractApi {
              VersionApi(GitLabApi gitlabApi) {
                  super(gitlabApi);
              }
          }
  
          Response response = new VersionApi(this).get(Response.Status.OK, null, "version");
          return (response.readEntity(Version.class));
      }
docs: Get the version info for the GitLab server using the GitLab Version API.
  
  @return the version info for the GitLab server
  @throws GitLabApiException if any exception occurs