class InviteUserRestServiceImpl extends BaseRestService implements InviteUserRestService {

    @Override
    public RestResult<RoleInvitePageResource> getPendingInternalUserInvites(String filter, int pageNumber, int pageSize) {
        MultiValueMap<String, String> params = new LinkedMultiValueMap<>();
        params.add("filter", filter);
        String uriWithParams = buildPaginationUri(INVITE_REST_URL + "/internal/pending", pageNumber, pageSize, null, params);
        return getWithRestResult(uriWithParams, RoleInvitePageResource.class);
    }

}