org.kohsuke.github.SCIMEMUGroupSearchBuilder Maven / Gradle / Ivy
package org.kohsuke.github;
/**
* Search SCIM users.
*
* @author Hiroyuki Wada
*/
public class SCIMEMUGroupSearchBuilder extends SCIMSearchBuilder {
SCIMEMUGroupSearchBuilder(GitHub root, GHEnterpriseExt enterprise) {
super(root, enterprise, SCIMUserSearchResult.class);
}
private static class SCIMUserSearchResult extends SCIMSearchResult {
}
@Override
protected String getApiUrl() {
return String.format("/scim/v2/enterprises/%s/Groups", enterprise.login);
}
}