public class EventsApi extends Object
| Constructor and Description |
|---|
EventsApi() |
EventsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
EventResponse |
createEvent(Event body)
createEvent
Endpoint to trigger an event.
|
EventListResponse |
createEventBatch(EventBatch body)
createEventBatch
Endpoint to trigger multiple events.
|
ApiClient |
getApiClient() |
EventListResponse |
getEvents(String cursor,
Integer size,
Boolean withPayload)
getEvents
Endpoint to list the events (only for system users)
|
void |
setApiClient(ApiClient apiClient) |
public EventsApi()
public EventsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public EventResponse createEvent(Event body) throws ApiException
body - (required)ApiException - if fails to make API callpublic EventListResponse createEventBatch(EventBatch body) throws ApiException
body - (required)ApiException - if fails to make API callpublic EventListResponse getEvents(String cursor, Integer size, Boolean withPayload) throws ApiException
cursor - The cursor of the event to read from (optional)size - The page size requested (defaults to 100, max 100) (optional, default to 100)withPayload - Include the payload (true by default) (optional, default to true)ApiException - if fails to make API callCopyright © 2017 LeanIX GmbH. All rights reserved.