Package com.openai.models
Interface CompoundFilter.Filter.Visitor
-
- All Implemented Interfaces:
public interface CompoundFilter.Filter.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract TvisitComparison(ComparisonFilter comparison)A filter used to compare a specified attribute key to a given value using a defined comparison operation. abstract TvisitJsonValue(JsonValue jsonValue)Tunknown(JsonValue json)Maps an unknown variant of Filter to a value of type T. -
-
Method Detail
-
visitComparison
abstract T visitComparison(ComparisonFilter comparison)
A filter used to compare a specified attribute key to a given value using a defined comparison operation.
-
visitJsonValue
abstract T visitJsonValue(JsonValue jsonValue)
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of Filter to a value of type T.
An instance of Filter 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.
-
-
-
-