class

OpenAI::ApplyPatchDeleteFileOperationParam

Inherits JSON::Serializable < Reference < Object

Instruction for deleting an existing file via the apply_patch tool.

Constructors

new(type_value : ApplyPatchDeleteFileOperationParamType = ApplyPatchDeleteFileOperationParamType::DeleteFile, path : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

path

Path of the file to delete relative to the workspace root.

Source
path=(path : String)

Path of the file to delete relative to the workspace root.

Source
type_value

The operation type. Always delete_file.

Source
type_value=(type_value : ApplyPatchDeleteFileOperationParamType)

The operation type. Always delete_file.

Source
validate!
Source