Package com.braintrustdata.api.models
Class EvalCreateParams.Score.ProjectSlug
-
- All Implemented Interfaces:
public final class EvalCreateParams.Score.ProjectSlugProject name and slug
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEvalCreateParams.Score.ProjectSlug.BuilderA builder for ProjectSlug.
-
Method Summary
Modifier and Type Method Description final StringprojectName()The name of the project containing the function final Stringslug()The slug of the function final Optional<String>version()The version of the function final JsonField<String>_projectName()Returns the raw JSON value of projectName. final JsonField<String>_slug()Returns the raw JSON value of slug. final JsonField<String>_version()Returns the raw JSON value of version. final Map<String, JsonValue>_additionalProperties()final EvalCreateParams.Score.ProjectSlugvalidate()final EvalCreateParams.Score.ProjectSlug.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EvalCreateParams.Score.ProjectSlug.Builderbuilder()Returns a mutable builder for constructing an instance of ProjectSlug. -
-
Method Detail
-
projectName
final String projectName()
The name of the project containing the function
-
_projectName
final JsonField<String> _projectName()
Returns the raw JSON value of projectName.
Unlike projectName, this method doesn't throw if the JSON field has an unexpected type.
-
_slug
final JsonField<String> _slug()
Returns the raw JSON value of slug.
Unlike slug, 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.ProjectSlug validate()
-
toBuilder
final EvalCreateParams.Score.ProjectSlug.Builder toBuilder()
-
builder
final static EvalCreateParams.Score.ProjectSlug.Builder builder()
Returns a mutable builder for constructing an instance of ProjectSlug.
The following fields are required:
.projectName() .slug()
-
-
-
-