Package com.braintrustdata.api.models
Class EvalCreateParams.Task.InlineCode.InlineContext.Builder
-
- All Implemented Interfaces:
public final class EvalCreateParams.Task.InlineCode.InlineContext.BuilderA builder for InlineContext.
-
-
Method Summary
-
-
Method Detail
-
runtime
final EvalCreateParams.Task.InlineCode.InlineContext.Builder runtime(EvalCreateParams.Task.InlineCode.InlineContext.Runtime runtime)
-
runtime
final EvalCreateParams.Task.InlineCode.InlineContext.Builder runtime(JsonField<EvalCreateParams.Task.InlineCode.InlineContext.Runtime> runtime)
Sets Builder.runtime to an arbitrary JSON value.
You should usually call Builder.runtime with a well-typed Runtime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
version
final EvalCreateParams.Task.InlineCode.InlineContext.Builder version(String version)
-
version
final EvalCreateParams.Task.InlineCode.InlineContext.Builder version(JsonField<String> version)
Sets Builder.version to an arbitrary JSON value.
You should usually call Builder.version with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final EvalCreateParams.Task.InlineCode.InlineContext.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final EvalCreateParams.Task.InlineCode.InlineContext.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final EvalCreateParams.Task.InlineCode.InlineContext.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final EvalCreateParams.Task.InlineCode.InlineContext.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final EvalCreateParams.Task.InlineCode.InlineContext.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final EvalCreateParams.Task.InlineCode.InlineContext build()
Returns an immutable instance of InlineContext.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.runtime() .version()
-
-
-
-