Class: Cloudscale::Benchmark::BenchmarkRunResultValue

Inherits:
Object
  • Object
show all
Includes:
Hashable
Defined in:
lib/cloudscale/benchmark/model/benchmark/benchmark_run_result_value.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBenchmarkRunResultValue

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

#argumentsObject

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

#descriptionObject

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

#nameObject

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

#rawStringObject

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

#scaleObject

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

#timestampObject

Returns the value of attribute timestamp.



14
15
16
# File 'lib/cloudscale/benchmark/model/benchmark/benchmark_run_result_value.rb', line 14

def timestamp
  @timestamp
end

#valueObject

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_hObject



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