Package com.braintrustdata.api.models
Class OnlineScoreConfig.Scorer.Function
-
- All Implemented Interfaces:
public final class OnlineScoreConfig.Scorer.Function
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOnlineScoreConfig.Scorer.Function.BuilderA builder for Function.
public final classOnlineScoreConfig.Scorer.Function.Type
-
Method Summary
Modifier and Type Method Description final Stringid()final OnlineScoreConfig.Scorer.Function.Typetype()final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<OnlineScoreConfig.Scorer.Function.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final OnlineScoreConfig.Scorer.Function.BuildertoBuilder()final OnlineScoreConfig.Scorer.Functionvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static OnlineScoreConfig.Scorer.Function.Builderbuilder()Returns a mutable builder for constructing an instance of Function. -
-
Method Detail
-
type
final OnlineScoreConfig.Scorer.Function.Type type()
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<OnlineScoreConfig.Scorer.Function.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final OnlineScoreConfig.Scorer.Function.Builder toBuilder()
-
validate
final OnlineScoreConfig.Scorer.Function validate()
-
builder
final static OnlineScoreConfig.Scorer.Function.Builder builder()
Returns a mutable builder for constructing an instance of Function.
The following fields are required:
.id() .type()
-
-
-
-