Class: TreeHaver::EditProjectionExecutionRequest
- Inherits:
-
Struct
- Object
- Struct
- TreeHaver::EditProjectionExecutionRequest
- Defined in:
- lib/tree_haver/contracts.rb
Instance Attribute Summary collapse
-
#backend_ref ⇒ Object
Returns the value of attribute backend_ref.
-
#language ⇒ Object
Returns the value of attribute language.
-
#operations ⇒ Object
Returns the value of attribute operations.
-
#provider_id ⇒ Object
Returns the value of attribute provider_id.
-
#source ⇒ Object
Returns the value of attribute source.
Instance Method Summary collapse
Instance Attribute Details
#backend_ref ⇒ Object
Returns the value of attribute backend_ref
416 417 418 |
# File 'lib/tree_haver/contracts.rb', line 416 def backend_ref @backend_ref end |
#language ⇒ Object
Returns the value of attribute language
416 417 418 |
# File 'lib/tree_haver/contracts.rb', line 416 def language @language end |
#operations ⇒ Object
Returns the value of attribute operations
416 417 418 |
# File 'lib/tree_haver/contracts.rb', line 416 def operations @operations end |
#provider_id ⇒ Object
Returns the value of attribute provider_id
416 417 418 |
# File 'lib/tree_haver/contracts.rb', line 416 def provider_id @provider_id end |
#source ⇒ Object
Returns the value of attribute source
416 417 418 |
# File 'lib/tree_haver/contracts.rb', line 416 def source @source end |
Instance Method Details
#to_h ⇒ Object
418 419 420 421 422 423 424 425 426 |
# File 'lib/tree_haver/contracts.rb', line 418 def to_h { provider_id: provider_id, backend_ref: backend_ref.to_h, language: language, source: source, operations: (operations || []).map(&:to_h) } end |