Package com.braintrustdata.api.models
Class ProjectLogInsertParams.Body
-
- All Implemented Interfaces:
public final class ProjectLogInsertParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classProjectLogInsertParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final List<InsertProjectLogsEvent>events()A list of project logs events to insert final JsonField<List<InsertProjectLogsEvent>>_events()Returns the raw JSON value of events. final Map<String, JsonValue>_additionalProperties()final ProjectLogInsertParams.Body.BuildertoBuilder()final ProjectLogInsertParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ProjectLogInsertParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
events
final List<InsertProjectLogsEvent> events()
A list of project logs events to insert
-
_events
final JsonField<List<InsertProjectLogsEvent>> _events()
Returns the raw JSON value of events.
Unlike events, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ProjectLogInsertParams.Body.Builder toBuilder()
-
validate
final ProjectLogInsertParams.Body validate()
-
builder
final static ProjectLogInsertParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.events()
-
-
-
-