Package com.braintrustdata.api.models
Class ProjectLogInsertParams
-
- All Implemented Interfaces:
-
com.braintrustdata.api.core.Params
public final class ProjectLogInsertParams implements Params
Insert a set of events into the project logs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classProjectLogInsertParams.Bodypublic final classProjectLogInsertParams.BuilderA builder for ProjectLogInsertParams.
-
Method Summary
Modifier and Type Method Description final StringprojectId()Project id 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>_additionalBodyProperties()final Headers_additionalHeaders()final QueryParams_additionalQueryParams()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. final StringgetPathParam(Integer index)final ProjectLogInsertParams.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ProjectLogInsertParams.Builderbuilder()Returns a mutable builder for constructing an instance of ProjectLogInsertParams. -
-
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.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
_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.
-
getPathParam
final String getPathParam(Integer index)
-
toBuilder
final ProjectLogInsertParams.Builder toBuilder()
-
builder
final static ProjectLogInsertParams.Builder builder()
Returns a mutable builder for constructing an instance of ProjectLogInsertParams.
The following fields are required:
.projectId() .events()
-
-
-
-