Package com.openai.models.videos
Interface VideoExtendParams.Video.Visitor
-
- All Implemented Interfaces:
public interface VideoExtendParams.Video.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract TvisitInputStream(InputStream inputStream)Reference to the completed video to extend. abstract TvisitReferenceInputParam(VideoExtendParams.Video.VideoReferenceInputParam referenceInputParam)Reference to the completed video. Tunknown(JsonValue json)Maps an unknown variant of Video to a value of type T. -
-
Method Detail
-
visitInputStream
abstract T visitInputStream(InputStream inputStream)
Reference to the completed video to extend.
-
visitReferenceInputParam
abstract T visitReferenceInputParam(VideoExtendParams.Video.VideoReferenceInputParam referenceInputParam)
Reference to the completed video.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of Video to a value of type T.
An instance of Video 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.
-
-
-
-