Package com.openai.models.responses
Interface ResponseInputItem.ApplyPatchCall.Operation.Visitor
-
- All Implemented Interfaces:
public interface ResponseInputItem.ApplyPatchCall.Operation.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract TvisitCreateFile(ResponseInputItem.ApplyPatchCall.Operation.CreateFile createFile)Instruction for creating a new file via the apply_patch tool. abstract TvisitDeleteFile(ResponseInputItem.ApplyPatchCall.Operation.DeleteFile deleteFile)Instruction for deleting an existing file via the apply_patch tool. abstract TvisitUpdateFile(ResponseInputItem.ApplyPatchCall.Operation.UpdateFile updateFile)Instruction for updating an existing file via the apply_patch tool. Tunknown(JsonValue json)Maps an unknown variant of Operation to a value of type T. -
-
Method Detail
-
visitCreateFile
abstract T visitCreateFile(ResponseInputItem.ApplyPatchCall.Operation.CreateFile createFile)
Instruction for creating a new file via the apply_patch tool.
-
visitDeleteFile
abstract T visitDeleteFile(ResponseInputItem.ApplyPatchCall.Operation.DeleteFile deleteFile)
Instruction for deleting an existing file via the apply_patch tool.
-
visitUpdateFile
abstract T visitUpdateFile(ResponseInputItem.ApplyPatchCall.Operation.UpdateFile updateFile)
Instruction for updating an existing file via the apply_patch tool.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of Operation to a value of type T.
An instance of Operation 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.
-
-
-
-