> + }
> +
> + public UserOptions build() {
> + UserOptions options = new UserOptions();
> +
> + if (page != null) {
> + options.queryParameters.put("page", String.valueOf(page));
> + }
> +
> + if (results != null) {
> + options.queryParameters.put("numResults",
> String.valueOf(results));
> + }
> +
> + return addFilterOptions(options);
> + }
> + }
If I am not wrong, as you said in the case of the user list, the page query
parameter sets the number of the page to be retrieved, not the number of the
element. The `startwith` parameter is ignored by the API, so the page one
should be used as you suggested.
Once the issue is fixed in the API, this will have to be changed to behave like
the other resources.
Thanks for spotting this!
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/22/files#r5705078