Class: Braintrust::Models::EnvVar
- Defined in:
- lib/braintrust/models/env_var.rb
Defined Under Namespace
Classes: ObjectType
Instance Attribute Summary collapse
-
#created ⇒ DateTime
Date of environment variable creation.
-
#id ⇒ String
Unique identifier for the environment variable.
-
#name_ ⇒ String
The name of the environment variable.
-
#object_id_ ⇒ String
The id of the object the environment variable is scoped for.
-
#object_type ⇒ Symbol
The type of the object the environment variable is scoped for One of the constants defined in ObjectType.
-
#used ⇒ DateTime
Date the environment variable was last used.
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 environment variable creation
30 |
# File 'lib/braintrust/models/env_var.rb', line 30 optional :created, DateTime |
#id ⇒ String
Unique identifier for the environment variable
9 |
# File 'lib/braintrust/models/env_var.rb', line 9 required :id, String |
#name_ ⇒ String
The name of the environment variable
14 |
# File 'lib/braintrust/models/env_var.rb', line 14 required :name_, String |
#object_id_ ⇒ String
The id of the object the environment variable is scoped for
19 |
# File 'lib/braintrust/models/env_var.rb', line 19 required :object_id_, String |
#object_type ⇒ Symbol
The type of the object the environment variable is scoped for One of the constants defined in ObjectType
25 |
# File 'lib/braintrust/models/env_var.rb', line 25 required :object_type, enum: -> { Braintrust::Models::EnvVar::ObjectType } |
#used ⇒ DateTime
Date the environment variable was last used
35 |
# File 'lib/braintrust/models/env_var.rb', line 35 optional :used, DateTime |