Class: Retab::CreateExperimentRunRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Retab::CreateExperimentRunRequest
- Defined in:
- lib/retab/experiment_runs/create_experiment_run_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ experiment_id: :experiment_id, workflow_id: :workflow_id, plan_token: :plan_token }.freeze
Instance Attribute Summary collapse
-
#experiment_id ⇒ Object
Returns the value of attribute experiment_id.
-
#plan_token ⇒ Object
Returns the value of attribute plan_token.
-
#workflow_id ⇒ Object
Returns the value of attribute workflow_id.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ CreateExperimentRunRequest
constructor
A new instance of CreateExperimentRunRequest.
Methods inherited from Types::BaseModel
deep_symbolize, #inspect, normalize, #to_h, #to_json
Constructor Details
#initialize(json) ⇒ CreateExperimentRunRequest
Returns a new instance of CreateExperimentRunRequest.
20 21 22 23 24 25 26 |
# File 'lib/retab/experiment_runs/create_experiment_run_request.rb', line 20 def initialize(json) super() hash = self.class.normalize(json) @experiment_id = hash[:experiment_id] @workflow_id = hash[:workflow_id] @plan_token = hash[:plan_token] end |
Instance Attribute Details
#experiment_id ⇒ Object
Returns the value of attribute experiment_id.
14 15 16 |
# File 'lib/retab/experiment_runs/create_experiment_run_request.rb', line 14 def experiment_id @experiment_id end |
#plan_token ⇒ Object
Returns the value of attribute plan_token.
14 15 16 |
# File 'lib/retab/experiment_runs/create_experiment_run_request.rb', line 14 def plan_token @plan_token end |
#workflow_id ⇒ Object
Returns the value of attribute workflow_id.
14 15 16 |
# File 'lib/retab/experiment_runs/create_experiment_run_request.rb', line 14 def workflow_id @workflow_id end |