public class ProjectService extends EvrythngServiceBase
/projects endpoint of the EVRYTHNG API.| Constructor and Description |
|---|
ProjectService(ApiManager apiManager) |
| Modifier and Type | Method and Description |
|---|---|
EvrythngApiBuilder.Builder<Project> |
projectCreator(Project project)
Creates a new
Project |
EvrythngApiBuilder.Builder<Boolean> |
projectDeleter(String id)
Deletes the referenced
Project |
EvrythngApiBuilder.Builder<Project> |
projectReader(String id)
Retrieves the referenced
Project |
EvrythngApiBuilder.Builder<Long> |
projectsDeleter(List<String> ids)
Deletes the referenced
Project |
EvrythngApiBuilder.Builder<Long> |
projectsDeleter(String filter)
Deletes the referenced
Project |
EvrythngApiBuilder.Builder<List<Project>> |
projectsReader()
Retrieves list of all
Project resources. |
EvrythngApiBuilder.Builder<Project> |
projectUpdater(String id,
Project project)
Updates the referenced
Project |
absoluteUri, delete, deleteMultiple, encodeBase64, get, getConfig, iterator, mqttUrl, onBuilderCreated, post, post, postAsynchronously, postMultipart, postMultipart, put, put, putMultipart, putMultipart, putMultiple, urlEncodePathPartpublic ProjectService(ApiManager apiManager)
apiManager - ApiManager instancepublic EvrythngApiBuilder.Builder<Project> projectCreator(Project project) throws EvrythngClientException
Project
POST
project - Project instanceEvrythngApiBuilder.BuilderEvrythngClientExceptionpublic EvrythngApiBuilder.Builder<List<Project>> projectsReader() throws EvrythngClientException
Project resources.
GET
EvrythngApiBuilder.BuilderEvrythngClientExceptionpublic EvrythngApiBuilder.Builder<Project> projectReader(String id) throws EvrythngClientException
Project
GET
id - project idEvrythngApiBuilder.BuilderEvrythngClientExceptionpublic EvrythngApiBuilder.Builder<Project> projectUpdater(String id, Project project) throws EvrythngClientException
Project
PUT
id - project idproject - Project instanceEvrythngApiBuilder.BuilderEvrythngClientExceptionpublic EvrythngApiBuilder.Builder<Boolean> projectDeleter(String id) throws EvrythngClientException
Project
DELETE
id - project idEvrythngApiBuilder.BuilderEvrythngClientExceptionpublic EvrythngApiBuilder.Builder<Long> projectsDeleter(List<String> ids) throws EvrythngClientException
Project
DELETE
ids - project idsEvrythngApiBuilder.BuilderEvrythngClientExceptionpublic EvrythngApiBuilder.Builder<Long> projectsDeleter(String filter) throws EvrythngClientException
Project
DELETE
filter - filter for projects to deleteEvrythngApiBuilder.BuilderEvrythngClientExceptionCopyright © 2016 EVRYTHNG Ltd London / Zurich. All rights reserved.