class

OpenAI::Model

Inherits JSON::Serializable / Reference / Object

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

created
Source
created=(created : Int32 | Nil)
Source
description
Source
description=(description : String | Nil)
Source
id=(id : String)
Source
name
Source
name=(name : String | Nil)
Source
object
Source
object=(object : String)
Source
status
Source
status=(status : String | Nil)
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source
usage
Source
usage=(usage : Usage | Nil)
Source

Nested types