class

OpenAI::AdminApiKeyOwner

Inherits JSON::Serializable < Reference < Object

Constructors

new(type_value : String | Nil = nil, object : String | Nil = nil, id : String | Nil = nil, name : String | Nil = nil, created_at : Int64 | Nil = nil, role : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

created_at

The Unix timestamp (in seconds) of when the user was created

Source
created_at=(created_at : Int64 | Nil)

The Unix timestamp (in seconds) of when the user was created

Source
id

The identifier, which can be referenced in API endpoints

Source
id=(id : String | Nil)

The identifier, which can be referenced in API endpoints

Source
name

The name of the user

Source
name=(name : String | Nil)

The name of the user

Source
object

The object type, which is always organization.user

Source
object=(object : String | Nil)

The object type, which is always organization.user

Source
role

Always owner

Source
role=(role : String | Nil)

Always owner

Source
type_value

Always user

Source
type_value=(type_value : String | Nil)

Always user

Source