Package com.braintrustdata.api.models
Class ProjectScoreListParams.ScoreType
-
- All Implemented Interfaces:
public final class ProjectScoreListParams.ScoreTypeThe type of the configured score
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceProjectScoreListParams.ScoreType.VisitorAn interface that defines how to map each variant of ScoreType to a value of type T.
-
Method Summary
Modifier and Type Method Description final Optional<ProjectScoreType>project()The type of the configured score final Optional<List<ProjectScoreType>>projectScoreTypes()The type of the configured score final BooleanisProject()final BooleanisProjectScoreTypes()final ProjectScoreTypeasProject()The type of the configured score final List<ProjectScoreType>asProjectScoreTypes()The type of the configured score final <T extends Any> Taccept(ProjectScoreListParams.ScoreType.Visitor<T> visitor)Booleanequals(Object other)IntegerhashCode()StringtoString()final static ProjectScoreListParams.ScoreTypeofProject(ProjectScoreType project)The type of the configured score final static ProjectScoreListParams.ScoreTypeofProjectScoreTypes(List<ProjectScoreType> projectScoreTypes)The type of the configured score -
-
Method Detail
-
project
final Optional<ProjectScoreType> project()
The type of the configured score
-
projectScoreTypes
final Optional<List<ProjectScoreType>> projectScoreTypes()
The type of the configured score
-
isProjectScoreTypes
final Boolean isProjectScoreTypes()
-
asProject
final ProjectScoreType asProject()
The type of the configured score
-
asProjectScoreTypes
final List<ProjectScoreType> asProjectScoreTypes()
The type of the configured score
-
accept
final <T extends Any> T accept(ProjectScoreListParams.ScoreType.Visitor<T> visitor)
-
ofProject
final static ProjectScoreListParams.ScoreType ofProject(ProjectScoreType project)
The type of the configured score
-
ofProjectScoreTypes
final static ProjectScoreListParams.ScoreType ofProjectScoreTypes(List<ProjectScoreType> projectScoreTypes)
The type of the configured score
-
-
-
-