OpenAI::PublicRoleListResource
Inherits JSON::Serializable < Reference < Object
Paginated list of roles available on an organization or project.
Constructors
new(pull : JSON::PullParser)
Sourcenew(object : PublicRoleListResourceObject = PublicRoleListResourceObject::List, data : Array(Role) = [] of Role, has_more : Bool = false, next_value : PublicRoleListResourceNext = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
next_value
Cursor to fetch the next page of results, or null when there are no additional roles.
next_value=(next_value : PublicRoleListResourceNext)
Cursor to fetch the next page of results, or null when there are no additional roles.