Class ListEventsFilter
java.lang.Object
com.vonage.client.proactiveconnect.ListEventsFilter
- All Implemented Interfaces:
QueryParamsRequest
Filter options for finding events using
ProactiveConnectClient.listEvents(ListEventsFilter).-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for specifying options to filter events by. -
Method Summary
Modifier and TypeMethodDescriptionstatic ListEventsFilter.Builderbuilder()Entry point for constructing an instance of this class.Action ID to filter by.ISO-8601 formatted date for when to end events filter.Invocation ID to filter by.getOrder()Sort in either ascending or descending order.Recipient ID to filter by.getRunId()Run ID to filter by.Run item ID to filter by.The name of the segment / matcher the item / event to filter by (exact string).Source type to filter by.ISO-8601 formatted date for when to begin events filter.Trace ID to filter by.Internal method for serializing the fields of this class into query parameters.
-
Method Details
-
makeParams
Description copied from interface:QueryParamsRequestInternal method for serializing the fields of this class into query parameters. The Map should be mutable so that subclasses can add fields, otherwise the method or implementing class should be marked asfinal. Duplicate entries can be handled by mapping the key to a list of the entries.- Specified by:
makeParamsin interfaceQueryParamsRequest- Returns:
- The query parameters as unique key-value pairs.
-
getOrder
Sort in either ascending or descending order.- Returns:
- The sort order as an enum, or
nullif unspecified.
-
getRunId
Run ID to filter by.- Returns:
- The run ID, or
nullif unspecified.
-
getRunItemId
Run item ID to filter by.- Returns:
- The run item ID, or
nullif unspecified.
-
getInvocationId
Invocation ID to filter by.- Returns:
- The invocation ID, or
nullif unspecified.
-
getActionId
Action ID to filter by.- Returns:
- The action ID, or
nullif unspecified.
-
getTraceId
Trace ID to filter by.- Returns:
- The trace ID, or
nullif unspecified.
-
getRecipientId
Recipient ID to filter by.- Returns:
- The recipient ID, or
nullif unspecified.
-
getSourceContext
The name of the segment / matcher the item / event to filter by (exact string).- Returns:
- The source context string, or
nullif unspecified.
-
getSourceType
Source type to filter by.- Returns:
- The source type as an enum, or
nullif unspecified.
-
getStartDate
ISO-8601 formatted date for when to begin events filter.- Returns:
- The start date for events as an Instant, or
nullif unspecified.
-
getEndDate
ISO-8601 formatted date for when to end events filter.- Returns:
- The end date for events as an Instant, or
nullif unspecified.
-
builder
Entry point for constructing an instance of this class.- Returns:
- A new Builder.
-