Package com.vonage.client.conversations
Class ListEventsRequest.Builder
java.lang.Object
com.vonage.client.common.HalFilterRequest.Builder<ListEventsRequest,ListEventsRequest.Builder>
com.vonage.client.conversations.ListEventsRequest.Builder
- Enclosing class:
ListEventsRequest
public static final class ListEventsRequest.Builder
extends HalFilterRequest.Builder<ListEventsRequest,ListEventsRequest.Builder>
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the ListEventsRequest.endId(int endId) The ID to stop returning events at.The type of event to search for.excludeDeletedEvents(boolean excludeDeletedEvents) Whether to exclude deleted events from the results.startId(int startId) The ID to start returning events at.Methods inherited from class com.vonage.client.common.HalFilterRequest.Builder
endDate, page, startDate
-
Method Details
-
excludeDeletedEvents
Whether to exclude deleted events from the results.- Parameters:
excludeDeletedEvents-trueto exclude deleted events, ornullif unspecified.- Returns:
- This builder.
-
startId
The ID to start returning events at.- Parameters:
startId- The start ID as an int.- Returns:
- This builder.
-
endId
The ID to stop returning events at.- Parameters:
endId- The end ID as an int.- Returns:
- This builder.
-
eventType
The type of event to search for. Does not currently support custom events.- Parameters:
eventType- The event type to search for as an enum.- Returns:
- This builder.
-
build
Builds the ListEventsRequest.- Specified by:
buildin classHalFilterRequest.Builder<ListEventsRequest,ListEventsRequest.Builder> - Returns:
- An instance of ListEventsRequest, populated with all fields from this builder.
-