class

OpenAI::InviteRequest

Inherits JSON::Serializable < Reference < Object

Constructors

new(email : String = "", role : InviteRequestRole = InviteRequestRole::Reader, projects : Array(InviteRequestProjectsItem) | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

email

Send an email to this address

Source
email=(email : String)

Send an email to this address

Source
projects

An array of projects to which membership is granted at the same time the org invite is accepted. If omitted, the user will be invited to the default project for compatibility with legacy behavior.

Source
projects=(projects : Array(InviteRequestProjectsItem) | Nil)

An array of projects to which membership is granted at the same time the org invite is accepted. If omitted, the user will be invited to the default project for compatibility with legacy behavior.

Source
role

owner or reader

Source
role=(role : InviteRequestRole)

owner or reader

Source