public abstract static class Accounts.SuggestAccountsRequest extends Object
suggestAccounts()
.Accounts.suggestAccounts()
Constructor and Description |
---|
SuggestAccountsRequest() |
Modifier and Type | Method and Description |
---|---|
abstract List<AccountInfo> |
get()
Execute query and return a list of accounts.
|
int |
getLimit() |
String |
getQuery() |
Accounts.SuggestAccountsRequest |
withLimit(int limit)
Set limit for returned list of accounts.
|
Accounts.SuggestAccountsRequest |
withQuery(String query)
Set query.
|
public abstract List<AccountInfo> get() throws RestApiException
RestApiException
public Accounts.SuggestAccountsRequest withQuery(String query)
query
- needs to be in human-readable form.public Accounts.SuggestAccountsRequest withLimit(int limit)
public String getQuery()
public int getLimit()