public class EventJobClient extends MindsphereAPIClient
| Modifier and Type | Class and Description |
|---|---|
static class |
EventJobClient.ClientBuilder |
MindsphereAPIClient.Builder<T extends MindsphereAPIClient.Builder<T>>credentials, restClientConfig, restTemplate| Modifier | Constructor and Description |
|---|---|
protected |
EventJobClient(EventJobClient.ClientBuilder builder) |
| Modifier and Type | Method and Description |
|---|---|
static EventJobClient.ClientBuilder |
builder() |
JobResource |
createDeleteEventsJob(DeleteEventsJobDto deleteEventsJobDto)
Returns Job's id based on request.
|
JobResource |
getDeleteEventsJobById(String jobId)
Returns a delete events job's state by ID
|
protected EventJobClient(EventJobClient.ClientBuilder builder)
public static EventJobClient.ClientBuilder builder()
public JobResource createDeleteEventsJob(DeleteEventsJobDto deleteEventsJobDto) throws MindsphereException
202 - ACCEPTED
deleteEventsJobDto - Operation content to perform asynchronous delete events job.MindsphereException - if an error occurs while attempting to invoke the APIpublic JobResource getDeleteEventsJobById(String jobId) throws MindsphereException
200 - OK
401 - Unauthorized
403 - The user does not have the right permission
404 - Not Found
500 - Internal Server Error
jobId - ID of a jobMindsphereException - if an error occurs while attempting to invoke the API