Package com.openai.models.images
Interface ImageEditParams.Image.Visitor
-
- All Implemented Interfaces:
public interface ImageEditParams.Image.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract T
visitInputStream(InputStream inputStream)
abstract T
visitInputStreams(List<InputStream> inputStreams)
T
unknown(JsonValue json)
Maps an unknown variant of Image to a value of type T. -
-
Method Detail
-
visitInputStream
abstract T visitInputStream(InputStream inputStream)
-
visitInputStreams
abstract T visitInputStreams(List<InputStream> inputStreams)
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of Image to a value of type T.
An instance of Image 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.
-
-
-
-