Package com.courier.models.send
Interface SendMessageParams.Message.Expiry.ExpiresIn.Visitor
-
- All Implemented Interfaces:
public interface SendMessageParams.Message.Expiry.ExpiresIn.Visitor<T extends Object>
-
-
Method Summary
-
-
Method Detail
-
visitString
abstract T visitString(String string)
-
visitInteger
abstract T visitInteger(Long integer)
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of ExpiresIn to a value of type T.
An instance of ExpiresIn 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.
-
-
-
-