mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
166803de25
These files were merged from github.com/racker/rackspace-monitoring-rb. The namespace was different than the convetion in fog so the namespace was modified to be compliant with the rest of the fog library.
18 lines
420 B
Ruby
18 lines
420 B
Ruby
require 'fog/core/model'
|
|
require 'fog/rackspace/models/monitoring/base'
|
|
|
|
module Fog
|
|
module Rackspace
|
|
class Monitoring
|
|
class DataPoint < Fog::Rackspace::Monitoring::Base
|
|
attribute :num_points, :aliases => "numPoints"
|
|
attribute :average
|
|
attribute :variance
|
|
attribute :min
|
|
attribute :max
|
|
attribute :timestamp
|
|
attribute :metric
|
|
end
|
|
end
|
|
end
|
|
end
|