Class: Softlayer::Container::Graph::Plot

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/container/graph/plot.rb,
lib/softlayer/container/graph/plot/coordinate.rb

Defined Under Namespace

Classes: Coordinate, Representer

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer

Methods included from Model::Operations

extended, #filter, included, #limit, #mask, #request_headers

Instance Attribute Details

#dataObject

Returns the value of attribute data.



6
7
8
# File 'lib/softlayer/container/graph/plot.rb', line 6

def data
  @data
end

#metricObject

Returns the value of attribute metric.



7
8
9
# File 'lib/softlayer/container/graph/plot.rb', line 7

def metric
  @metric
end

#unitObject

Returns the value of attribute unit.



8
9
10
# File 'lib/softlayer/container/graph/plot.rb', line 8

def unit
  @unit
end