public class ActionService extends EvrythngServiceBase
/actions endpoint of the EVRYTHNG API.| Modifier and Type | Field and Description |
|---|---|
protected ActionDeserializer |
deserializer |
static String |
PATH_ACTIONS |
static String |
PATH_ALL_ACTION |
static String |
PATH_ALL_ACTIONS |
static String |
PATH_TYPED_ACTION |
static String |
PATH_TYPED_ACTIONS |
| Constructor and Description |
|---|
ActionService(ApiManager apiManager,
EvrythngJacksonModule evrythngJacksonModule) |
absoluteUri, delete, deleteMultiple, encodeBase64, get, getConfig, iterator, mqttUrl, onBuilderCreated, post, post, postAsynchronously, postMultipart, postMultipart, put, put, putMultipart, putMultipart, putMultiple, urlEncodePathPartpublic static final String PATH_ACTIONS
public static final String PATH_ALL_ACTIONS
public static final String PATH_ALL_ACTION
public static final String PATH_TYPED_ACTIONS
public static final String PATH_TYPED_ACTION
protected ActionDeserializer deserializer
public ActionService(ApiManager apiManager, EvrythngJacksonModule evrythngJacksonModule)
apiManager - ApiManager instancepublic EvrythngApiBuilder.Builder<List<ActionType>> actionTypesReader() throws EvrythngClientException
EvrythngClientExceptionpublic EvrythngApiBuilder.Builder<ActionType> actionTypeCreator(ActionType type) throws EvrythngClientException
EvrythngClientExceptionpublic EvrythngApiBuilder.Builder<Boolean> actionTypeDeleter(String type) throws EvrythngClientException
EvrythngClientExceptionpublic <T extends Action> EvrythngApiBuilder.Builder<T> actionCreator(T action) throws EvrythngClientException
EvrythngClientExceptionpublic EvrythngApiBuilder.Builder<Actions> actionsCreator(Actions actions) throws EvrythngClientException
EvrythngClientExceptionpublic EvrythngApiBuilder.Builder<List<Action>> actionsReader() throws EvrythngClientException
iterator() instead.EvrythngClientExceptionpublic <T extends Action> EvrythngApiBuilder.Builder<List<T>> actionsReader(Class<T> actionClass) throws EvrythngClientException
EvrythngClientExceptionpublic EvrythngApiBuilder.Builder<List<CustomAction>> actionsReader(String customType) throws EvrythngClientException
iterator(String) instead.EvrythngClientExceptionpublic EvrythngApiBuilder.Builder<Action> actionReader(String id) throws EvrythngClientException
EvrythngClientExceptionpublic <T extends Action> EvrythngApiBuilder.Builder<T> actionReader(Class<T> actionClass, String id) throws EvrythngClientException
EvrythngClientExceptionpublic EvrythngApiBuilder.Builder<CustomAction> actionReader(String customType, String id) throws EvrythngClientException
EvrythngClientExceptionpublic <T extends Action> EvrythngApiBuilder.Builder<Boolean> actionDeleter(Class<T> actionClass, String id) throws EvrythngClientException
EvrythngClientExceptionpublic EvrythngApiBuilder.Builder<Boolean> actionDeleter(String customType, String id) throws EvrythngClientException
EvrythngClientExceptionpublic EvrythngApiBuilder.Builder<ActionType> actionTypeUpdater(String actionTypeName, ActionType update) throws EvrythngClientException
EvrythngClientExceptionprotected void checkCustomType(String customType)
public EvrythngApiBuilder.Builder<Iterator<org.pcollections.PVector<Action>>> iterator()
public EvrythngApiBuilder.Builder<Iterator<org.pcollections.PVector<Action>>> iterator(String actionTypeName)
Copyright © 2016 EVRYTHNG Ltd London / Zurich. All rights reserved.