Class: Rafflesia::SimulationRuntimePythonProbe

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/rafflesia/simulations/simulation_runtime_python_probe.rb

Constant Summary collapse

HASH_ATTRS =
{
  error: :error,
  executable: :executable,
  is_available: :is_available,
  mdanalysis_available: :mdanalysis_available,
  mdanalysis_version: :mdanalysis_version,
  resolved_from: :resolved_from,
  runtime_manifest_path: :runtime_manifest_path,
  version: :version
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ SimulationRuntimePythonProbe

Returns a new instance of SimulationRuntimePythonProbe.



29
30
31
32
33
34
35
36
37
38
39
40
# File 'lib/rafflesia/simulations/simulation_runtime_python_probe.rb', line 29

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @error = hash[:error]
  @executable = hash[:executable]
  @is_available = hash[:is_available]
  @mdanalysis_available = hash[:mdanalysis_available]
  @mdanalysis_version = hash[:mdanalysis_version]
  @resolved_from = hash[:resolved_from]
  @runtime_manifest_path = hash[:runtime_manifest_path]
  @version = hash[:version]
end

Instance Attribute Details

#errorObject

Returns the value of attribute error.



19
20
21
# File 'lib/rafflesia/simulations/simulation_runtime_python_probe.rb', line 19

def error
  @error
end

#executableObject

Returns the value of attribute executable.



19
20
21
# File 'lib/rafflesia/simulations/simulation_runtime_python_probe.rb', line 19

def executable
  @executable
end

#is_availableObject

Returns the value of attribute is_available.



19
20
21
# File 'lib/rafflesia/simulations/simulation_runtime_python_probe.rb', line 19

def is_available
  @is_available
end

#mdanalysis_availableObject

Returns the value of attribute mdanalysis_available.



19
20
21
# File 'lib/rafflesia/simulations/simulation_runtime_python_probe.rb', line 19

def mdanalysis_available
  @mdanalysis_available
end

#mdanalysis_versionObject

Returns the value of attribute mdanalysis_version.



19
20
21
# File 'lib/rafflesia/simulations/simulation_runtime_python_probe.rb', line 19

def mdanalysis_version
  @mdanalysis_version
end

#resolved_fromObject

Returns the value of attribute resolved_from.



19
20
21
# File 'lib/rafflesia/simulations/simulation_runtime_python_probe.rb', line 19

def resolved_from
  @resolved_from
end

#runtime_manifest_pathObject

Returns the value of attribute runtime_manifest_path.



19
20
21
# File 'lib/rafflesia/simulations/simulation_runtime_python_probe.rb', line 19

def runtime_manifest_path
  @runtime_manifest_path
end

#versionObject

Returns the value of attribute version.



19
20
21
# File 'lib/rafflesia/simulations/simulation_runtime_python_probe.rb', line 19

def version
  @version
end