Class: Braintrust::Models::Group
- Defined in:
- lib/braintrust/models/group.rb
Instance Attribute Summary collapse
-
#created ⇒ DateTime
Date of group creation.
-
#deleted_at ⇒ DateTime
Date of group deletion, or null if the group is still active.
-
#description ⇒ String
Textual description of the group.
-
#id ⇒ String
Unique identifier for the group.
-
#member_groups ⇒ Object
Ids of the groups this group inherits from.
-
#member_users ⇒ Array<String>
Ids of users which belong to this group.
-
#name_ ⇒ String
Name of the group.
-
#org_id ⇒ Object
Unique id for the organization that the group belongs under.
-
#user_id ⇒ String
Identifies the user who created the group.
Method Summary
Methods inherited from BaseModel
#[], #initialize, #inspect, #to_h, #to_s
Constructor Details
This class inherits a constructor from Braintrust::BaseModel
Instance Attribute Details
#created ⇒ DateTime
Date of group creation
26 |
# File 'lib/braintrust/models/group.rb', line 26 optional :created, DateTime |
#deleted_at ⇒ DateTime
Date of group deletion, or null if the group is still active
31 |
# File 'lib/braintrust/models/group.rb', line 31 optional :deleted_at, DateTime |
#description ⇒ String
Textual description of the group
36 |
# File 'lib/braintrust/models/group.rb', line 36 optional :description, String |
#id ⇒ String
Unique identifier for the group
9 |
# File 'lib/braintrust/models/group.rb', line 9 required :id, String |
#member_groups ⇒ Object
Ids of the groups this group inherits from
43 |
# File 'lib/braintrust/models/group.rb', line 43 optional :member_groups, Braintrust::ArrayOf.new(String) |
#member_users ⇒ Array<String>
Ids of users which belong to this group
48 |
# File 'lib/braintrust/models/group.rb', line 48 optional :member_users, Braintrust::ArrayOf.new(String) |
#name_ ⇒ String
Name of the group
14 |
# File 'lib/braintrust/models/group.rb', line 14 required :name_, String |
#org_id ⇒ Object
Unique id for the organization that the group belongs under
21 |
# File 'lib/braintrust/models/group.rb', line 21 required :org_id, String |
#user_id ⇒ String
Identifies the user who created the group
53 |
# File 'lib/braintrust/models/group.rb', line 53 optional :user_id, String |