Package com.braintrustdata.api.models
Class FetchProjectLogsEventsResponse
-
- All Implemented Interfaces:
public final class FetchProjectLogsEventsResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFetchProjectLogsEventsResponse.BuilderA builder for FetchProjectLogsEventsResponse.
-
Method Summary
Modifier and Type Method Description final List<ProjectLogsEvent>events()A list of fetched events final Optional<String>cursor()Pagination cursorPass this string directly as the cursorparam to your next fetch request to get the next page of results.final JsonField<List<ProjectLogsEvent>>_events()Returns the raw JSON value of events. final JsonField<String>_cursor()Returns the raw JSON value of cursor. final Map<String, JsonValue>_additionalProperties()final FetchProjectLogsEventsResponsevalidate()final FetchProjectLogsEventsResponse.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FetchProjectLogsEventsResponse.Builderbuilder()Returns a mutable builder for constructing an instance of FetchProjectLogsEventsResponse. -
-
Method Detail
-
events
final List<ProjectLogsEvent> events()
A list of fetched events
-
cursor
final Optional<String> cursor()
Pagination cursor
Pass this string directly as the
cursorparam to your next fetch request to get the next page of results. Not provided if the returned result set is empty.
-
_events
final JsonField<List<ProjectLogsEvent>> _events()
Returns the raw JSON value of events.
Unlike events, this method doesn't throw if the JSON field has an unexpected type.
-
_cursor
final JsonField<String> _cursor()
Returns the raw JSON value of cursor.
Unlike cursor, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final FetchProjectLogsEventsResponse validate()
-
toBuilder
final FetchProjectLogsEventsResponse.Builder toBuilder()
-
builder
final static FetchProjectLogsEventsResponse.Builder builder()
Returns a mutable builder for constructing an instance of FetchProjectLogsEventsResponse.
The following fields are required:
.events()
-
-
-
-