Class EventListParams
-
- All Implemented Interfaces:
-
com.lithic.api.core.Params
public final class EventListParams implements Params
List all events.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEventListParams.BuilderA builder for EventListParams.
public final classEventListParams.EventType
-
Method Summary
Modifier and Type Method Description final Optional<OffsetDateTime>begin()Date string in RFC 3339 format. final Optional<OffsetDateTime>end()Date string in RFC 3339 format. final Optional<String>endingBefore()A cursor representing an item's token before which a page of results should end. final Optional<List<EventListParams.EventType>>eventTypes()Event types to filter events by. final Optional<Long>pageSize()Page size (for pagination). final Optional<String>startingAfter()A cursor representing an item's token after which a page of results should begin. final Optional<Boolean>withContent()Whether to include the event payload content in the response. final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final EventListParams.BuildertoBuilder()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static EventListParamsnone()final static EventListParams.Builderbuilder()Returns a mutable builder for constructing an instance of EventListParams. -
-
Method Detail
-
begin
final Optional<OffsetDateTime> begin()
Date string in RFC 3339 format. Only entries created after the specified time will be included. UTC time zone.
-
end
final Optional<OffsetDateTime> end()
Date string in RFC 3339 format. Only entries created before the specified time will be included. UTC time zone.
-
endingBefore
final Optional<String> endingBefore()
A cursor representing an item's token before which a page of results should end. Used to retrieve the previous page of results before this item.
-
eventTypes
final Optional<List<EventListParams.EventType>> eventTypes()
Event types to filter events by.
-
startingAfter
final Optional<String> startingAfter()
A cursor representing an item's token after which a page of results should begin. Used to retrieve the next page of results after this item.
-
withContent
final Optional<Boolean> withContent()
Whether to include the event payload content in the response.
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final EventListParams.Builder toBuilder()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
none
final static EventListParams none()
-
builder
final static EventListParams.Builder builder()
Returns a mutable builder for constructing an instance of EventListParams.
-
-
-
-