Class: Rafflesia::SimulationRuntimeEnvironmentProbe
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SimulationRuntimeEnvironmentProbe
- Defined in:
- lib/rafflesia/simulations/simulation_runtime_environment_probe.rb
Constant Summary collapse
- HASH_ATTRS =
{ is_set: :is_set, is_usable: :is_usable, message: :message, name: :name, value: :value }.freeze
Instance Attribute Summary collapse
-
#is_set ⇒ Object
Returns the value of attribute is_set.
-
#is_usable ⇒ Object
Returns the value of attribute is_usable.
-
#message ⇒ Object
Returns the value of attribute message.
-
#name ⇒ Object
Returns the value of attribute name.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(json) ⇒ SimulationRuntimeEnvironmentProbe
constructor
A new instance of SimulationRuntimeEnvironmentProbe.
Constructor Details
#initialize(json) ⇒ SimulationRuntimeEnvironmentProbe
Returns a new instance of SimulationRuntimeEnvironmentProbe.
23 24 25 26 27 28 29 30 31 |
# File 'lib/rafflesia/simulations/simulation_runtime_environment_probe.rb', line 23 def initialize(json) super() hash = self.class.normalize(json) @is_set = hash[:is_set] @is_usable = hash[:is_usable] @message = hash[:message] @name = hash[:name] @value = hash[:value] end |
Instance Attribute Details
#is_set ⇒ Object
Returns the value of attribute is_set.
16 17 18 |
# File 'lib/rafflesia/simulations/simulation_runtime_environment_probe.rb', line 16 def is_set @is_set end |
#is_usable ⇒ Object
Returns the value of attribute is_usable.
16 17 18 |
# File 'lib/rafflesia/simulations/simulation_runtime_environment_probe.rb', line 16 def is_usable @is_usable end |
#message ⇒ Object
Returns the value of attribute message.
16 17 18 |
# File 'lib/rafflesia/simulations/simulation_runtime_environment_probe.rb', line 16 def @message end |
#name ⇒ Object
Returns the value of attribute name.
16 17 18 |
# File 'lib/rafflesia/simulations/simulation_runtime_environment_probe.rb', line 16 def name @name end |
#value ⇒ Object
Returns the value of attribute value.
16 17 18 |
# File 'lib/rafflesia/simulations/simulation_runtime_environment_probe.rb', line 16 def value @value end |