class

OpenAI::ProjectUser

Inherits JSON::Serializable < Reference < Object

Represents an individual user in a project.

Constructors

new(object : ProjectUserObject = ProjectUserObject::OrganizationProjectUser, id : String = "", name : String = "", email : String = "", role : ProjectUserRole = ProjectUserRole::Owner, added_at : Int64 = 0)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

added_at

The Unix timestamp (in seconds) of when the project was added.

Source
added_at=(added_at : Int64)

The Unix timestamp (in seconds) of when the project was added.

Source
email

The email address of the user

Source
email=(email : String)

The email address of the user

Source
id

The identifier, which can be referenced in API endpoints

Source
id=(id : String)

The identifier, which can be referenced in API endpoints

Source
name

The name of the user

Source
name=(name : String)

The name of the user

Source
object

The object type, which is always organization.project.user

Source
object=(object : ProjectUserObject)

The object type, which is always organization.project.user

Source
role

owner or member

Source
role=(role : ProjectUserRole)

owner or member

Source