Class: Cloudscale::Benchmark::BenchmarkRunResultValue
- Inherits:
-
Object
- Object
- Cloudscale::Benchmark::BenchmarkRunResultValue
- Includes:
- Hashable
- Defined in:
- lib/cloudscale/benchmark/model/benchmark/benchmark_run_result_value.rb
Instance Attribute Summary collapse
-
#arguments ⇒ Object
Returns the value of attribute arguments.
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
-
#rawString ⇒ Object
Returns the value of attribute rawString.
-
#scale ⇒ Object
Returns the value of attribute scale.
-
#timestamp ⇒ Object
Returns the value of attribute timestamp.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize ⇒ BenchmarkRunResultValue
constructor
A new instance of BenchmarkRunResultValue.
- #to_h ⇒ Object
Constructor Details
#initialize ⇒ BenchmarkRunResultValue
Returns a new instance of BenchmarkRunResultValue.
16 17 |
# File 'lib/cloudscale/benchmark/model/benchmark/benchmark_run_result_value.rb', line 16 def initialize() end |
Instance Attribute Details
#arguments ⇒ Object
Returns the value of attribute arguments.
14 15 16 |
# File 'lib/cloudscale/benchmark/model/benchmark/benchmark_run_result_value.rb', line 14 def arguments @arguments end |
#description ⇒ Object
Returns the value of attribute description.
14 15 16 |
# File 'lib/cloudscale/benchmark/model/benchmark/benchmark_run_result_value.rb', line 14 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
14 15 16 |
# File 'lib/cloudscale/benchmark/model/benchmark/benchmark_run_result_value.rb', line 14 def name @name end |
#rawString ⇒ Object
Returns the value of attribute rawString.
14 15 16 |
# File 'lib/cloudscale/benchmark/model/benchmark/benchmark_run_result_value.rb', line 14 def rawString @rawString end |
#scale ⇒ Object
Returns the value of attribute scale.
14 15 16 |
# File 'lib/cloudscale/benchmark/model/benchmark/benchmark_run_result_value.rb', line 14 def scale @scale end |
#timestamp ⇒ Object
Returns the value of attribute timestamp.
14 15 16 |
# File 'lib/cloudscale/benchmark/model/benchmark/benchmark_run_result_value.rb', line 14 def end |
#value ⇒ Object
Returns the value of attribute value.
14 15 16 |
# File 'lib/cloudscale/benchmark/model/benchmark/benchmark_run_result_value.rb', line 14 def value @value end |
Instance Method Details
#to_h ⇒ Object
19 20 21 22 23 |
# File 'lib/cloudscale/benchmark/model/benchmark/benchmark_run_result_value.rb', line 19 def to_h hash = {} instance_variables.each {|var| hash[var.to_s.delete("@")] = instance_variable_get(var) } return hash end |