struct AI::OpenAI::Responses::ApplyPatchOperation

Included Modules

Defined in:

ai/openai/responses/openai_responses_api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.create_file(path : String, diff : String) : ApplyPatchOperation #

[View source]
def self.delete_file(path : String) : ApplyPatchOperation #

[View source]
def self.new(type : String, path : String, diff : String | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]
def self.update_file(path : String, diff : String) : ApplyPatchOperation #

[View source]

Instance Method Detail

def diff : String | Nil #

[View source]
def path : String #

[View source]
def type : String #

[View source]