Class: Softlayer::Metric::Tracking::Object::Bandwidth::Summary

Inherits:
Entity show all
Defined in:
lib/softlayer/metric/tracking/object/bandwidth/summary.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Metric_Tracking_Object_Bandwidth_Summary'

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Softlayer::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 Softlayer::Model::Operations

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

Instance Attribute Details

#allocation_amountObject

Returns the value of attribute allocation_amount.



8
9
10
# File 'lib/softlayer/metric/tracking/object/bandwidth/summary.rb', line 8

def allocation_amount
  @allocation_amount
end

#allocation_idObject

Returns the value of attribute allocation_id.



9
10
11
# File 'lib/softlayer/metric/tracking/object/bandwidth/summary.rb', line 9

def allocation_id
  @allocation_id
end

#amount_outObject

Returns the value of attribute amount_out.



10
11
12
# File 'lib/softlayer/metric/tracking/object/bandwidth/summary.rb', line 10

def amount_out
  @amount_out
end

#average_daily_usageObject

Returns the value of attribute average_daily_usage.



11
12
13
# File 'lib/softlayer/metric/tracking/object/bandwidth/summary.rb', line 11

def average_daily_usage
  @average_daily_usage
end

#currently_over_allocation_flagObject

Returns the value of attribute currently_over_allocation_flag.



12
13
14
# File 'lib/softlayer/metric/tracking/object/bandwidth/summary.rb', line 12

def currently_over_allocation_flag
  @currently_over_allocation_flag
end

#idObject

Returns the value of attribute id.



13
14
15
# File 'lib/softlayer/metric/tracking/object/bandwidth/summary.rb', line 13

def id
  @id
end

#outbound_bandwidth_amountObject

Returns the value of attribute outbound_bandwidth_amount.



14
15
16
# File 'lib/softlayer/metric/tracking/object/bandwidth/summary.rb', line 14

def outbound_bandwidth_amount
  @outbound_bandwidth_amount
end

#projected_bandwidth_usageObject

Returns the value of attribute projected_bandwidth_usage.



15
16
17
# File 'lib/softlayer/metric/tracking/object/bandwidth/summary.rb', line 15

def projected_bandwidth_usage
  @projected_bandwidth_usage
end

#projected_over_allocation_flagObject

Returns the value of attribute projected_over_allocation_flag.



16
17
18
# File 'lib/softlayer/metric/tracking/object/bandwidth/summary.rb', line 16

def projected_over_allocation_flag
  @projected_over_allocation_flag
end

Instance Method Details

#get_objectObject



18
19
20
# File 'lib/softlayer/metric/tracking/object/bandwidth/summary.rb', line 18

def get_object
  request(:get_object, Softlayer::Metric::Tracking::Object::Bandwidth::Summary)
end