Class: Softlayer::Network::Gateway::Member
- Defined in:
- lib/softlayer/network/gateway/member.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Network_Gateway_Member'
Instance Attribute Summary collapse
-
#hardware ⇒ Object
Returns the value of attribute hardware.
-
#hardware_id ⇒ Object
Returns the value of attribute hardware_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#network_gateway ⇒ Object
Returns the value of attribute network_gateway.
-
#network_gateway_id ⇒ Object
Returns the value of attribute network_gateway_id.
-
#priority ⇒ Object
Returns the value of attribute priority.
Class Method Summary collapse
-
.create_object(message) ⇒ Object
template_object.
-
.create_objects(message) ⇒ Object
template_objects.
Instance Method Summary collapse
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
#hardware ⇒ Object
Returns the value of attribute hardware.
10 11 12 |
# File 'lib/softlayer/network/gateway/member.rb', line 10 def hardware @hardware end |
#hardware_id ⇒ Object
Returns the value of attribute hardware_id.
6 7 8 |
# File 'lib/softlayer/network/gateway/member.rb', line 6 def hardware_id @hardware_id end |
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/softlayer/network/gateway/member.rb', line 7 def id @id end |
#network_gateway ⇒ Object
Returns the value of attribute network_gateway.
11 12 13 |
# File 'lib/softlayer/network/gateway/member.rb', line 11 def network_gateway @network_gateway end |
#network_gateway_id ⇒ Object
Returns the value of attribute network_gateway_id.
8 9 10 |
# File 'lib/softlayer/network/gateway/member.rb', line 8 def network_gateway_id @network_gateway_id end |
#priority ⇒ Object
Returns the value of attribute priority.
9 10 11 |
# File 'lib/softlayer/network/gateway/member.rb', line 9 def priority @priority end |
Class Method Details
Instance Method Details
#get_hardware ⇒ Object
23 24 25 |
# File 'lib/softlayer/network/gateway/member.rb', line 23 def get_hardware request(:get_hardware, Softlayer::Hardware) end |