Package com.braintrustdata.api.models
Class EvalCreateParams.Score.FunctionId
-
- All Implemented Interfaces:
public final class EvalCreateParams.Score.FunctionIdFunction id
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEvalCreateParams.Score.FunctionId.BuilderA builder for FunctionId.
-
Method Summary
Modifier and Type Method Description final StringfunctionId()The ID of the function final Optional<String>version()The version of the function final JsonField<String>_functionId()Returns the raw JSON value of functionId. final JsonField<String>_version()Returns the raw JSON value of version. final Map<String, JsonValue>_additionalProperties()final EvalCreateParams.Score.FunctionIdvalidate()final EvalCreateParams.Score.FunctionId.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EvalCreateParams.Score.FunctionId.Builderbuilder()Returns a mutable builder for constructing an instance of FunctionId. -
-
Method Detail
-
functionId
final String functionId()
The ID of the function
-
_functionId
final JsonField<String> _functionId()
Returns the raw JSON value of functionId.
Unlike functionId, this method doesn't throw if the JSON field has an unexpected type.
-
_version
final JsonField<String> _version()
Returns the raw JSON value of version.
Unlike version, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final EvalCreateParams.Score.FunctionId validate()
-
toBuilder
final EvalCreateParams.Score.FunctionId.Builder toBuilder()
-
builder
final static EvalCreateParams.Score.FunctionId.Builder builder()
Returns a mutable builder for constructing an instance of FunctionId.
The following fields are required:
.functionId()
-
-
-
-