class

OpenAI::ItemReferenceParam

Inherits JSON::Serializable < Reference < Object

An internal identifier for an item to reference.

Constructors

new(type_value : ItemReferenceParamType | Nil = nil, id : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

id

The ID of the item to reference.

Source
id=(id : String)

The ID of the item to reference.

Source
type_value
Source
type_value=(type_value : ItemReferenceParamType | Nil)
Source