Package com.openai.models.skills
Interface SkillCreateParams.Files.Visitor
-
- All Implemented Interfaces:
public interface SkillCreateParams.Files.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract TvisitInputStreams(List<InputStream> inputStreams)Skill files to upload (directory upload) or a single zip file. abstract TvisitInputStream(InputStream inputStream)Skill zip file to upload. Tunknown(JsonValue json)Maps an unknown variant of Files to a value of type T. -
-
Method Detail
-
visitInputStreams
abstract T visitInputStreams(List<InputStream> inputStreams)
Skill files to upload (directory upload) or a single zip file.
-
visitInputStream
abstract T visitInputStream(InputStream inputStream)
Skill zip file to upload.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of Files to a value of type T.
An instance of Files 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.
-
-
-
-