class

OpenAI::InviteListResponse

Inherits JSON::Serializable < Reference < Object

Constructors

new(object : InviteListResponseObject = InviteListResponseObject::List, data : Array(Invite) = [] of Invite, first_id : String | Nil = nil, last_id : String | Nil = nil, has_more : Bool | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

data
Source
data=(data : Array(Invite))
Source
first_id

The first invite_id in the retrieved list

Source
first_id=(first_id : String | Nil)

The first invite_id in the retrieved list

Source
has_more

The has_more property is used for pagination to indicate there are additional results.

Source
has_more=(has_more : Bool | Nil)

The has_more property is used for pagination to indicate there are additional results.

Source
last_id

The last invite_id in the retrieved list

Source
last_id=(last_id : String | Nil)

The last invite_id in the retrieved list

Source
object

The object type, which is always list

Source
object=(object : InviteListResponseObject)

The object type, which is always list

Source