Class: Softlayer::Scale::Network::Vlan
- Defined in:
- lib/softlayer/scale/network/vlan.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Scale_Network_Vlan'
Instance Attribute Summary collapse
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#delete_flag ⇒ Object
Returns the value of attribute delete_flag.
-
#id ⇒ Object
Returns the value of attribute id.
-
#network_vlan ⇒ Object
Returns the value of attribute network_vlan.
-
#network_vlan_id ⇒ Object
Returns the value of attribute network_vlan_id.
-
#scale_group ⇒ Object
Returns the value of attribute scale_group.
-
#scale_group_id ⇒ Object
Returns the value of attribute scale_group_id.
Class Method Summary collapse
-
.create_object(message) ⇒ Object
template_object.
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
#create_date ⇒ Object
Returns the value of attribute create_date.
6 7 8 |
# File 'lib/softlayer/scale/network/vlan.rb', line 6 def create_date @create_date end |
#delete_flag ⇒ Object
Returns the value of attribute delete_flag.
7 8 9 |
# File 'lib/softlayer/scale/network/vlan.rb', line 7 def delete_flag @delete_flag end |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/softlayer/scale/network/vlan.rb', line 8 def id @id end |
#network_vlan ⇒ Object
Returns the value of attribute network_vlan.
11 12 13 |
# File 'lib/softlayer/scale/network/vlan.rb', line 11 def network_vlan @network_vlan end |
#network_vlan_id ⇒ Object
Returns the value of attribute network_vlan_id.
9 10 11 |
# File 'lib/softlayer/scale/network/vlan.rb', line 9 def network_vlan_id @network_vlan_id end |
#scale_group ⇒ Object
Returns the value of attribute scale_group.
12 13 14 |
# File 'lib/softlayer/scale/network/vlan.rb', line 12 def scale_group @scale_group end |
#scale_group_id ⇒ Object
Returns the value of attribute scale_group_id.
10 11 12 |
# File 'lib/softlayer/scale/network/vlan.rb', line 10 def scale_group_id @scale_group_id end |
Class Method Details
Instance Method Details
#delete_object ⇒ Object
19 20 21 |
# File 'lib/softlayer/scale/network/vlan.rb', line 19 def delete_object request(:delete_object, Boolean) end |
#get_network_vlan ⇒ Object
23 24 25 |
# File 'lib/softlayer/scale/network/vlan.rb', line 23 def get_network_vlan request(:get_network_vlan, Softlayer::Network::Vlan) end |