Package com.braintrustdata.api.models
Class ProjectLogInsertParams.Body.Builder
-
- All Implemented Interfaces:
public final class ProjectLogInsertParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
events
final ProjectLogInsertParams.Body.Builder events(List<InsertProjectLogsEvent> events)
A list of project logs events to insert
-
events
final ProjectLogInsertParams.Body.Builder events(JsonField<List<InsertProjectLogsEvent>> events)
Sets Builder.events to an arbitrary JSON value.
You should usually call Builder.events with a well-typed
List<InsertProjectLogsEvent>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addEvent
final ProjectLogInsertParams.Body.Builder addEvent(InsertProjectLogsEvent event)
Adds a single InsertProjectLogsEvent to events.
-
additionalProperties
final ProjectLogInsertParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ProjectLogInsertParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ProjectLogInsertParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ProjectLogInsertParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ProjectLogInsertParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ProjectLogInsertParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.events()
-
-
-
-