Package com.openai.models.beta.responses
Class BetaResponseInputItem.ApplyPatchCall.Operation.DeleteFile
-
- All Implemented Interfaces:
public final class BetaResponseInputItem.ApplyPatchCall.Operation.DeleteFileInstruction for deleting an existing file via the apply_patch tool.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaResponseInputItem.ApplyPatchCall.Operation.DeleteFile.BuilderA builder for DeleteFile.
-
Method Summary
Modifier and Type Method Description final Stringpath()Path of the file to delete relative to the workspace root. final JsonValue_type()The operation type. final JsonField<String>_path()Returns the raw JSON value of path. final Map<String, JsonValue>_additionalProperties()final BetaResponseInputItem.ApplyPatchCall.Operation.DeleteFile.BuildertoBuilder()final BetaResponseInputItem.ApplyPatchCall.Operation.DeleteFilevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaResponseInputItem.ApplyPatchCall.Operation.DeleteFile.Builderbuilder()Returns a mutable builder for constructing an instance of DeleteFile. -
-
Method Detail
-
_type
final JsonValue _type()
The operation type. Always
delete_file.Expected to always return the following:
JsonValue.from("delete_file")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_path
final JsonField<String> _path()
Returns the raw JSON value of path.
Unlike path, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaResponseInputItem.ApplyPatchCall.Operation.DeleteFile.Builder toBuilder()
-
validate
final BetaResponseInputItem.ApplyPatchCall.Operation.DeleteFile validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaResponseInputItem.ApplyPatchCall.Operation.DeleteFile.Builder builder()
Returns a mutable builder for constructing an instance of DeleteFile.
The following fields are required:
.path()
-
-
-
-