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 }.freeze
Instance Attribute Summary collapse
-
#experiment_id ⇒ Object
Returns the value of attribute experiment_id.
-
#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
#inspect, normalize, #to_h, #to_json
Constructor Details
#initialize(json) ⇒ CreateExperimentRunRequest
Returns a new instance of CreateExperimentRunRequest.
17 18 19 20 21 |
# File 'lib/retab/experiment_runs/create_experiment_run_request.rb', line 17 def initialize(json) hash = self.class.normalize(json) @experiment_id = hash[:experiment_id] @workflow_id = hash[:workflow_id] end |
Instance Attribute Details
#experiment_id ⇒ Object
Returns the value of attribute experiment_id.
13 14 15 |
# File 'lib/retab/experiment_runs/create_experiment_run_request.rb', line 13 def experiment_id @experiment_id end |
#workflow_id ⇒ Object
Returns the value of attribute workflow_id.
13 14 15 |
# File 'lib/retab/experiment_runs/create_experiment_run_request.rb', line 13 def workflow_id @workflow_id end |