Class: Softlayer::Network::Customer::Subnet
- Defined in:
- lib/softlayer/network/customer/subnet.rb,
lib/softlayer/network/customer/subnet/ip_address.rb
Defined Under Namespace
Classes: IpAddress, Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Network_Customer_Subnet'
Instance Attribute Summary collapse
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#cidr ⇒ Object
Returns the value of attribute cidr.
-
#id ⇒ Object
Returns the value of attribute id.
-
#ip_address_count ⇒ Object
Returns the value of attribute ip_address_count.
-
#ip_addresses ⇒ Object
Returns the value of attribute ip_addresses.
-
#netmask ⇒ Object
Returns the value of attribute netmask.
-
#network_identifier ⇒ Object
Returns the value of attribute network_identifier.
-
#total_ip_addresses ⇒ Object
Returns the value of attribute total_ip_addresses.
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
#account_id ⇒ Object
Returns the value of attribute account_id.
7 8 9 |
# File 'lib/softlayer/network/customer/subnet.rb', line 7 def account_id @account_id end |
#cidr ⇒ Object
Returns the value of attribute cidr.
8 9 10 |
# File 'lib/softlayer/network/customer/subnet.rb', line 8 def cidr @cidr end |
#id ⇒ Object
Returns the value of attribute id.
9 10 11 |
# File 'lib/softlayer/network/customer/subnet.rb', line 9 def id @id end |
#ip_address_count ⇒ Object
Returns the value of attribute ip_address_count.
13 14 15 |
# File 'lib/softlayer/network/customer/subnet.rb', line 13 def ip_address_count @ip_address_count end |
#ip_addresses ⇒ Object
Returns the value of attribute ip_addresses.
14 15 16 |
# File 'lib/softlayer/network/customer/subnet.rb', line 14 def ip_addresses @ip_addresses end |
#netmask ⇒ Object
Returns the value of attribute netmask.
10 11 12 |
# File 'lib/softlayer/network/customer/subnet.rb', line 10 def netmask @netmask end |
#network_identifier ⇒ Object
Returns the value of attribute network_identifier.
11 12 13 |
# File 'lib/softlayer/network/customer/subnet.rb', line 11 def network_identifier @network_identifier end |
#total_ip_addresses ⇒ Object
Returns the value of attribute total_ip_addresses.
12 13 14 |
# File 'lib/softlayer/network/customer/subnet.rb', line 12 def total_ip_addresses @total_ip_addresses end |