Class: DeltacloudVM::Client::Metric::Property::Sample

Inherits:
Object
  • Object
show all
Defined in:
lib/deltacloud_vm/client/models/metric.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(values) ⇒ Sample

Returns a new instance of Sample.



43
44
45
# File 'lib/deltacloud_vm/client/models/metric.rb', line 43

def initialize(values)
  @values = values || []
end

Instance Attribute Details

#valuesObject (readonly)

Returns the value of attribute values.



41
42
43
# File 'lib/deltacloud_vm/client/models/metric.rb', line 41

def values
  @values
end