Class: TreeHaver::AppliedEditProjectionOperation

Inherits:
Struct
  • Object
show all
Defined in:
lib/tree_haver/contracts.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#correlation_keyObject

Returns the value of attribute correlation_key

Returns:

  • (Object)

    the current value of correlation_key



429
430
431
# File 'lib/tree_haver/contracts.rb', line 429

def correlation_key
  @correlation_key
end

#correlation_valueObject

Returns the value of attribute correlation_value

Returns:

  • (Object)

    the current value of correlation_value



429
430
431
# File 'lib/tree_haver/contracts.rb', line 429

def correlation_value
  @correlation_value
end

#operationObject

Returns the value of attribute operation

Returns:

  • (Object)

    the current value of operation



429
430
431
# File 'lib/tree_haver/contracts.rb', line 429

def operation
  @operation
end

#target_node_idObject

Returns the value of attribute target_node_id

Returns:

  • (Object)

    the current value of target_node_id



429
430
431
# File 'lib/tree_haver/contracts.rb', line 429

def target_node_id
  @target_node_id
end

Instance Method Details

#to_hObject



431
432
433
434
435
436
437
438
# File 'lib/tree_haver/contracts.rb', line 431

def to_h
  {
    operation: operation,
    target_node_id: target_node_id,
    correlation_key: correlation_key,
    correlation_value: correlation_value
  }
end