Package com.braintrustdata.api.models
Class EvalCreateParams.Task.InlineCode
-
- All Implemented Interfaces:
public final class EvalCreateParams.Task.InlineCodeInline code function
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEvalCreateParams.Task.InlineCode.BuilderA builder for InlineCode.
public final classEvalCreateParams.Task.InlineCode.InlineContext
-
Method Summary
Modifier and Type Method Description final Stringcode()The inline code to execute final EvalCreateParams.Task.InlineCode.InlineContextinlineContext()final Optional<String>name()The name of the inline code function final JsonField<String>_code()Returns the raw JSON value of code. final JsonField<EvalCreateParams.Task.InlineCode.InlineContext>_inlineContext()Returns the raw JSON value of inlineContext. final JsonField<String>_name()Returns the raw JSON value of name. final Map<String, JsonValue>_additionalProperties()final EvalCreateParams.Task.InlineCodevalidate()final EvalCreateParams.Task.InlineCode.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EvalCreateParams.Task.InlineCode.Builderbuilder()Returns a mutable builder for constructing an instance of InlineCode. -
-
Method Detail
-
inlineContext
final EvalCreateParams.Task.InlineCode.InlineContext inlineContext()
-
_code
final JsonField<String> _code()
Returns the raw JSON value of code.
Unlike code, this method doesn't throw if the JSON field has an unexpected type.
-
_inlineContext
final JsonField<EvalCreateParams.Task.InlineCode.InlineContext> _inlineContext()
Returns the raw JSON value of inlineContext.
Unlike inlineContext, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final EvalCreateParams.Task.InlineCode validate()
-
toBuilder
final EvalCreateParams.Task.InlineCode.Builder toBuilder()
-
builder
final static EvalCreateParams.Task.InlineCode.Builder builder()
Returns a mutable builder for constructing an instance of InlineCode.
The following fields are required:
.code() .inlineContext()
-
-
-
-