Class: Braintrust::Models::Function::Origin
- Defined in:
- lib/braintrust/models/function.rb
Defined Under Namespace
Classes: ObjectType
Instance Attribute Summary collapse
-
#internal ⇒ Boolean
The function exists for internal purposes and should not be displayed in the list of functions.
-
#object_id_ ⇒ String
Id of the object the function is originating from.
-
#object_type ⇒ Symbol
The object type that the ACL applies to One of the constants defined in ObjectType.
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
#internal ⇒ Boolean
The function exists for internal purposes and should not be displayed in the list of functions.
122 |
# File 'lib/braintrust/models/function.rb', line 122 optional :internal, Braintrust::BooleanModel |
#object_id_ ⇒ String
Id of the object the function is originating from
111 |
# File 'lib/braintrust/models/function.rb', line 111 required :object_id_, String |
#object_type ⇒ Symbol
The object type that the ACL applies to One of the constants defined in ObjectType
117 |
# File 'lib/braintrust/models/function.rb', line 117 required :object_type, enum: -> { Braintrust::Models::Function::Origin::ObjectType } |