Interface BetaManagedAgentsUserDefineOutcomeEventParams.Rubric.Visitor
-
- All Implemented Interfaces:
public interface BetaManagedAgentsUserDefineOutcomeEventParams.Rubric.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract TvisitFile(BetaManagedAgentsFileRubricParams file)Rubric referenced by a file uploaded via the Files API. abstract TvisitText(BetaManagedAgentsTextRubricParams text)Rubric content provided inline as text. Tunknown(JsonValue json)Maps an unknown variant of Rubric to a value of type T. -
-
Method Detail
-
visitFile
abstract T visitFile(BetaManagedAgentsFileRubricParams file)
Rubric referenced by a file uploaded via the Files API.
-
visitText
abstract T visitText(BetaManagedAgentsTextRubricParams text)
Rubric content provided inline as text.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of Rubric to a value of type T.
An instance of Rubric 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.
-
-
-
-