@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-02-12T14:56:03.264844-05:00[America/New_York]") public class EventRestApi extends Object
Constructor and Description |
---|
EventRestApi() |
EventRestApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
Event |
createEvent(String sessionid,
EventRequest eventRequest)
Creates an event
|
ApiResponse<Event> |
createEventWithHttpInfo(String sessionid,
EventRequest eventRequest)
Creates an event
|
List<Event> |
getAllEvents(String sessionid)
Gets all events
|
ApiResponse<List<Event>> |
getAllEventsWithHttpInfo(String sessionid)
Gets all events
|
ApiClient |
getApiClient()
Get the API client
|
List<Event> |
getEvents(String sessionid)
Gets events by session id
|
ApiResponse<List<Event>> |
getEventsWithHttpInfo(String sessionid)
Gets events by session id
|
void |
markAllAsReadOrUnread(String sessionid,
Boolean hasRead,
String readStatus,
List<String> eventGroups,
List<String> eventTypes,
String bucketName,
String projectName,
String workflowName,
Boolean myJobsOnly,
String eventSeverities,
Set<String> channels)
Marks all users events as read/unread matching provided filters
|
ApiResponse<Void> |
markAllAsReadOrUnreadWithHttpInfo(String sessionid,
Boolean hasRead,
String readStatus,
List<String> eventGroups,
List<String> eventTypes,
String bucketName,
String projectName,
String workflowName,
Boolean myJobsOnly,
String eventSeverities,
Set<String> channels)
Marks all users events as read/unread matching provided filters
|
List<Event> |
markAsReadOrUnread2(String sessionid,
Boolean hasRead,
List<Long> ids)
Marks events as read/unread
|
ApiResponse<List<Event>> |
markAsReadOrUnread2WithHttpInfo(String sessionid,
Boolean hasRead,
List<Long> ids)
Marks events as read/unread
|
void |
removeUserFromAllEvents(String sessionid,
String readStatus,
List<String> eventGroups,
List<String> eventTypes,
String bucketName,
String projectName,
String workflowName,
Boolean myJobsOnly,
String eventSeverities)
Removes user from events matching provided filters, if the events users to notify is empty the event is deleted
|
ApiResponse<Void> |
removeUserFromAllEventsWithHttpInfo(String sessionid,
String readStatus,
List<String> eventGroups,
List<String> eventTypes,
String bucketName,
String projectName,
String workflowName,
Boolean myJobsOnly,
String eventSeverities)
Removes user from events matching provided filters, if the events users to notify is empty the event is deleted
|
void |
removeUserFromEvents(String sessionid,
List<Long> ids)
Removes user from events, if the events users to notify is empty the event is deleted
|
ApiResponse<Void> |
removeUserFromEventsWithHttpInfo(String sessionid,
List<Long> ids)
Removes user from events, if the events users to notify is empty the event is deleted
|
void |
setApiClient(ApiClient apiClient)
Set the API client
|
public EventRestApi()
public EventRestApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient
- an instance of API clientpublic Event createEvent(String sessionid, EventRequest eventRequest) throws ApiException
sessionid
- (required)eventRequest
- (required)ApiException
- if fails to make API callpublic ApiResponse<Event> createEventWithHttpInfo(String sessionid, EventRequest eventRequest) throws ApiException
sessionid
- (required)eventRequest
- (required)ApiException
- if fails to make API callpublic List<Event> getAllEvents(String sessionid) throws ApiException
sessionid
- (required)ApiException
- if fails to make API callpublic ApiResponse<List<Event>> getAllEventsWithHttpInfo(String sessionid) throws ApiException
sessionid
- (required)ApiException
- if fails to make API callpublic List<Event> getEvents(String sessionid) throws ApiException
sessionid
- (required)ApiException
- if fails to make API callpublic ApiResponse<List<Event>> getEventsWithHttpInfo(String sessionid) throws ApiException
sessionid
- (required)ApiException
- if fails to make API callpublic void markAllAsReadOrUnread(String sessionid, Boolean hasRead, String readStatus, List<String> eventGroups, List<String> eventTypes, String bucketName, String projectName, String workflowName, Boolean myJobsOnly, String eventSeverities, Set<String> channels) throws ApiException
sessionid
- (required)hasRead
- (required)readStatus
- (optional)eventGroups
- (optional)eventTypes
- (optional)bucketName
- (optional)projectName
- (optional)workflowName
- (optional)myJobsOnly
- (optional)eventSeverities
- (optional)channels
- (optional)ApiException
- if fails to make API callpublic ApiResponse<Void> markAllAsReadOrUnreadWithHttpInfo(String sessionid, Boolean hasRead, String readStatus, List<String> eventGroups, List<String> eventTypes, String bucketName, String projectName, String workflowName, Boolean myJobsOnly, String eventSeverities, Set<String> channels) throws ApiException
sessionid
- (required)hasRead
- (required)readStatus
- (optional)eventGroups
- (optional)eventTypes
- (optional)bucketName
- (optional)projectName
- (optional)workflowName
- (optional)myJobsOnly
- (optional)eventSeverities
- (optional)channels
- (optional)ApiException
- if fails to make API callpublic List<Event> markAsReadOrUnread2(String sessionid, Boolean hasRead, List<Long> ids) throws ApiException
sessionid
- (required)hasRead
- (required)ids
- (optional)ApiException
- if fails to make API callpublic ApiResponse<List<Event>> markAsReadOrUnread2WithHttpInfo(String sessionid, Boolean hasRead, List<Long> ids) throws ApiException
sessionid
- (required)hasRead
- (required)ids
- (optional)ApiException
- if fails to make API callpublic void removeUserFromAllEvents(String sessionid, String readStatus, List<String> eventGroups, List<String> eventTypes, String bucketName, String projectName, String workflowName, Boolean myJobsOnly, String eventSeverities) throws ApiException
sessionid
- (required)readStatus
- (optional)eventGroups
- (optional)eventTypes
- (optional)bucketName
- (optional)projectName
- (optional)workflowName
- (optional)myJobsOnly
- (optional)eventSeverities
- (optional)ApiException
- if fails to make API callpublic ApiResponse<Void> removeUserFromAllEventsWithHttpInfo(String sessionid, String readStatus, List<String> eventGroups, List<String> eventTypes, String bucketName, String projectName, String workflowName, Boolean myJobsOnly, String eventSeverities) throws ApiException
sessionid
- (required)readStatus
- (optional)eventGroups
- (optional)eventTypes
- (optional)bucketName
- (optional)projectName
- (optional)workflowName
- (optional)myJobsOnly
- (optional)eventSeverities
- (optional)ApiException
- if fails to make API callpublic void removeUserFromEvents(String sessionid, List<Long> ids) throws ApiException
sessionid
- (required)ids
- (optional)ApiException
- if fails to make API callpublic ApiResponse<Void> removeUserFromEventsWithHttpInfo(String sessionid, List<Long> ids) throws ApiException
sessionid
- (required)ids
- (optional)ApiException
- if fails to make API call