struct OpenAI::Client::LastResponse

Defined in:

openai/client.cr

Constructors

Instance Method Summary

Macro Summary

Constructor Detail

def self.new(date : Time, organization : String, processing_ms : Int32, request_id : String, response : HTTP::Client::Response) #

[View source]
def self.new(response : HTTP::Client::Response) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(date _date = @date, organization _organization = @organization, processing_ms _processing_ms = @processing_ms, request_id _request_id = @request_id, response _response = @response) #

[View source]
def date : Time #

def organization : String #

def processing_ms : Int32 #

def request_id : String #

def response : HTTP::Client::Response #

Macro Detail

macro method_missing(call) #

[View source]