Package com.braintrustdata.api.models
Class FetchExperimentEventsResponse
-
- All Implemented Interfaces:
public final class FetchExperimentEventsResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFetchExperimentEventsResponse.BuilderA builder for FetchExperimentEventsResponse.
-
Method Summary
Modifier and Type Method Description final List<ExperimentEvent>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<ExperimentEvent>>_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 FetchExperimentEventsResponsevalidate()final FetchExperimentEventsResponse.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FetchExperimentEventsResponse.Builderbuilder()Returns a mutable builder for constructing an instance of FetchExperimentEventsResponse. -
-
Method Detail
-
events
final List<ExperimentEvent> 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<ExperimentEvent>> _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 FetchExperimentEventsResponse validate()
-
toBuilder
final FetchExperimentEventsResponse.Builder toBuilder()
-
builder
final static FetchExperimentEventsResponse.Builder builder()
Returns a mutable builder for constructing an instance of FetchExperimentEventsResponse.
The following fields are required:
.events()
-
-
-
-