public class ReactorSchedulesService extends EvrythngServiceBase
/projects/{projectId}/applications/{applicationId}/reactor/schedules endpoint of the EVRYTHNG
API.| Constructor and Description |
|---|
ReactorSchedulesService(ApiManager api) |
| Modifier and Type | Method and Description |
|---|---|
EvrythngApiBuilder.Builder<ReactorSchedule> |
reactorScheduleCreator(String projectId,
String appId,
ReactorSchedule reactorSchedule)
Creates
ReactorSchedule. |
EvrythngApiBuilder.Builder<Boolean> |
reactorScheduleDeleter(String projectId,
String appId,
String reactorScheduleId)
Removes
ReactorSchedule. |
EvrythngApiBuilder.Builder<ReactorSchedule> |
reactorScheduleReader(String projectId,
String appId,
String reactorScheduleId)
Retrieves
ReactorSchedule with the specified id from specified project and application. |
EvrythngApiBuilder.Builder<List<ReactorSchedule>> |
reactorSchedulesReader(String projectId,
String appId)
Retrieves all
ReactorSchedule from specified project and application. |
EvrythngApiBuilder.Builder<ReactorSchedule> |
reactorScheduleUpdater(String projectId,
String appId,
String reactorScheduleId,
ReactorSchedule reactorSchedule)
Updates
ReactorSchedule by specified id. |
absoluteUri, delete, deleteMultiple, encodeBase64, get, getConfig, iterator, mqttUrl, onBuilderCreated, post, post, postAsynchronously, postMultipart, postMultipart, put, put, putMultipart, putMultipart, putMultiple, urlEncodePathPartpublic ReactorSchedulesService(ApiManager api)
public EvrythngApiBuilder.Builder<List<ReactorSchedule>> reactorSchedulesReader(String projectId, String appId) throws EvrythngClientException
ReactorSchedule from specified project and application.
GET .
projectId - id of a project containing reactor schedules.appId - id of an application containing reactor schedules.ReactorSchedule.EvrythngClientExceptionpublic EvrythngApiBuilder.Builder<ReactorSchedule> reactorScheduleReader(String projectId, String appId, String reactorScheduleId) throws EvrythngClientException
ReactorSchedule with the specified id from specified project and application.
GET .
projectId - id of a project containing reactor schedule.appId - id of an application containing reactor schedule.reactorScheduleId - id of a reactor schedule.ReactorSchedule or HTTP 404 NOT FOUND.EvrythngClientExceptionpublic EvrythngApiBuilder.Builder<ReactorSchedule> reactorScheduleUpdater(String projectId, String appId, String reactorScheduleId, ReactorSchedule reactorSchedule) throws EvrythngClientException
ReactorSchedule by specified id.
PUT .
projectId - if of a project containing reactor schedule.appId - id of an application containing reactor schedule.reactorScheduleId - id of a reactor schedule.reactorSchedule - reactor schedule update.EvrythngClientExceptionpublic EvrythngApiBuilder.Builder<ReactorSchedule> reactorScheduleCreator(String projectId, String appId, ReactorSchedule reactorSchedule) throws EvrythngClientException
ReactorSchedule.
POST .
projectId - id of a project.appId - if of an application.reactorSchedule - reactor schedule create fields.EvrythngClientExceptionpublic EvrythngApiBuilder.Builder<Boolean> reactorScheduleDeleter(String projectId, String appId, String reactorScheduleId) throws EvrythngClientException
ReactorSchedule.
DELETE .
projectId - id of a project containing reactor schedule.appId - if of an application containing reactor schedule.reactorScheduleId - if of a reactor schedule.TRUE if operation was successful, FALSE otherwise.EvrythngClientExceptionCopyright © 2016 EVRYTHNG Ltd London / Zurich. All rights reserved.