class

OpenAI::BatchRequestOutputResponseVariant1

Inherits JSON::Serializable < Reference < Object

Constructors

new(status_code : Int64 | Nil = nil, request_id : String | Nil = nil, body : Hash(String, JSON::Any) | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

body

The JSON body of the response

Source
body=(body : Hash(String, JSON::Any) | Nil)

The JSON body of the response

Source
request_id

An unique identifier for the OpenAI API request. Please include this request ID when contacting support.

Source
request_id=(request_id : String | Nil)

An unique identifier for the OpenAI API request. Please include this request ID when contacting support.

Source
status_code

The HTTP status code of the response

Source
status_code=(status_code : Int64 | Nil)

The HTTP status code of the response

Source