Package com.braintrustdata.api.models
Interface ProjectScoreListParams.ScoreType.Visitor
-
- All Implemented Interfaces:
public interface ProjectScoreListParams.ScoreType.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract TvisitProject(ProjectScoreType project)The type of the configured score abstract TvisitProjectScoreTypes(List<ProjectScoreType> projectScoreTypes)The type of the configured score Tunknown(JsonValue json)Maps an unknown variant of ScoreType to a value of type T. -
-
Method Detail
-
visitProject
abstract T visitProject(ProjectScoreType project)
The type of the configured score
-
visitProjectScoreTypes
abstract T visitProjectScoreTypes(List<ProjectScoreType> projectScoreTypes)
The type of the configured score
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of ScoreType to a value of type T.
An instance of ScoreType can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.
-
-
-
-