Class: SoftLayer::NetworkComponent

Inherits:
ModelBase
  • Object
show all
Defined in:
lib/softlayer/NetworkComponent.rb

Instance Attribute Summary

Attributes inherited from ModelBase

#softlayer_client

Instance Method Summary collapse

Methods inherited from ModelBase

#[], #has_sl_property?, #initialize, #refresh_details, #service, sl_attr, #to_ary

Constructor Details

This class inherits a constructor from SoftLayer::ModelBase

Instance Method Details

#max_speedObject

:attr_reader: max_speed A network component’s maximum allowed speed,



12
# File 'lib/softlayer/NetworkComponent.rb', line 12

sl_attr :max_speed, 'maxSpeed'

#maxSpeedObject

:attr_reader: A network component’s maximum allowed speed,

DEPRECATION WARNING: This attribute is deprecated in favor of max_speed and will be removed in the next major release.



20
# File 'lib/softlayer/NetworkComponent.rb', line 20

sl_attr :maxSpeed

#nameObject

:attr_reader: A network component’s short name.



25
# File 'lib/softlayer/NetworkComponent.rb', line 25

sl_attr :name

#speedObject

:attr_reader: A network component’s speed, measured in Mbit per second.



34
# File 'lib/softlayer/NetworkComponent.rb', line 34

sl_attr :speed