class

OpenAI::GroupUserAssignment

Inherits JSON::Serializable < Reference < Object

Confirmation payload returned after adding a user to a group.

Constructors

new(object : GroupUserAssignmentObject = GroupUserAssignmentObject::GroupUser, user_id : String = "", group_id : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

group_id

Identifier of the group the user was added to.

Source
group_id=(group_id : String)

Identifier of the group the user was added to.

Source
object

Always group.user.

Source
object=(object : GroupUserAssignmentObject)

Always group.user.

Source
user_id

Identifier of the user that was added.

Source
user_id=(user_id : String)

Identifier of the user that was added.

Source