Package com.courier.models.audiences
Interface Filter.Visitor
-
- All Implemented Interfaces:
public interface Filter.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract TvisitSingleFilterConfig(SingleFilterConfig singleFilterConfig)A single filter to use for filtering abstract TvisitNestedFilterConfig(NestedFilterConfig nestedFilterConfig)The operator to use for filtering Tunknown(JsonValue json)Maps an unknown variant of Filter to a value of type T. -
-
Method Detail
-
visitSingleFilterConfig
abstract T visitSingleFilterConfig(SingleFilterConfig singleFilterConfig)
A single filter to use for filtering
-
visitNestedFilterConfig
abstract T visitNestedFilterConfig(NestedFilterConfig nestedFilterConfig)
The operator to use for filtering
-
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.
-
-
-
-