public static class EvrythngApiBuilder.Builder<T> extends ApiCommandBuilder<T,EvrythngApiBuilder.Builder<T>>
| Modifier and Type | Class and Description |
|---|---|
static class |
EvrythngApiBuilder.Builder.Result<R>
Class to hold the results and the total count.
|
accept, content, execute, getCommand, header, placeHolder, queryParam, queryParam, queryParam, queryParamList, queryParamList, queryParams, request, streampublic EvrythngApiBuilder.Builder<T> apiKey(String apiKey)
apiKey - the authorization token for accessing the EVRYTHNG APIEvrythngApiBuilder.Builderpublic EvrythngApiBuilder.Builder<T> search(String pattern)
pattern - "" query parameter valueEvrythngApiBuilder.BuilderQSearchQueryParamValuepublic EvrythngApiBuilder.Builder<T> withScopes(boolean withScopes)
withScopes - "" query parameter valueEvrythngApiBuilder.BuilderWithScopesQueryParamValuepublic EvrythngApiBuilder.Builder<T> withPagination(int page, int perPage)
EvrythngApiBuilder.Builderpublic EvrythngApiBuilder.Builder<T> page(int page)
page - "" query parameter valueEvrythngApiBuilder.Builderpublic EvrythngApiBuilder.Builder<T> perPage(int perPage)
perPage - "" query parameter valueEvrythngApiBuilder.Builderpublic EvrythngApiBuilder.Builder<T> from(long from)
from - "" query parameter valueEvrythngApiBuilder.Builderpublic EvrythngApiBuilder.Builder<T> from(String from)
from - "" query parameter valueEvrythngApiBuilder.Builderpublic EvrythngApiBuilder.Builder<T> from(ApiConfiguration.QueryKeyword queryKeyword)
queryKeyword - "" query parameter valueEvrythngApiBuilder.Builderpublic EvrythngApiBuilder.Builder<T> to(long to)
to - "" query parameter valueEvrythngApiBuilder.Builderpublic EvrythngApiBuilder.Builder<T> to(String to)
to - "" query parameter valueEvrythngApiBuilder.Builderpublic EvrythngApiBuilder.Builder<T> to(ApiConfiguration.QueryKeyword queryKeyword)
queryKeyword - "" query parameter valueEvrythngApiBuilder.Builder@Deprecated public EvrythngApiBuilder.Builder<T> app(String appId)
appId - EvrythngApiBuilder.Builderpublic EvrythngApiBuilder.Builder<T> userScope(Iterable<String> scope)
scope - "" query parameter valueEvrythngApiBuilder.Builderpublic EvrythngApiBuilder.Builder<T> userScopeAll()
ApiConfiguration.QueryKeyword.ALLEvrythngApiBuilder.Builderpublic EvrythngApiBuilder.Builder<T> ids(List<String> ids)
ids - "" query parameter valueEvrythngApiBuilder.Builderpublic EvrythngApiBuilder.Builder<T> filter(String filter)
filter - "" query parameter valueEvrythngApiBuilder.Builderpublic EvrythngApiBuilder.Builder<T> project(String projectId)
projectId - "" query parameter valueEvrythngApiBuilder.Builder@Deprecated public int count() throws EvrythngException
HEAD request.EvrythngExceptionApiCommand.head(String)public EvrythngApiBuilder.Builder.Result<T> list() throws EvrythngException
EvrythngExceptionpublic String jsonp(String callback) throws EvrythngException
HttpResponse entity.
callback - the name of the callback functionHttpResponse entity in the form of JSONP contentEvrythngExceptionCopyright © 2016 EVRYTHNG Ltd London / Zurich. All rights reserved.