class

OpenAI::ProjectGroupListResource

Inherits JSON::Serializable < Reference < Object

Paginated list of groups that have access to a project.

Constructors

new(object : ProjectGroupListResourceObject = ProjectGroupListResourceObject::List, data : Array(ProjectGroup) = [] of ProjectGroup, has_more : Bool = false, next_value : ProjectGroupListResourceNext = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

data

Project group memberships returned in the current page.

Source
data=(data : Array(ProjectGroup))

Project group memberships returned in the current page.

Source
has_more

Whether additional project group memberships are available.

Source
has_more=(has_more : Bool)

Whether additional project group memberships are available.

Source
next_value

Cursor to fetch the next page of results, or null when there are no more results.

Source
next_value=(next_value : ProjectGroupListResourceNext)

Cursor to fetch the next page of results, or null when there are no more results.

Source
object

Always list.

Source
object=(object : ProjectGroupListResourceObject)

Always list.

Source