Class: Softlayer::Network::Firewall::Interface

Inherits:
Module::Context::Interface show all
Defined in:
lib/softlayer/network/firewall/interface.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Network_Firewall_Interface'

Instance Attribute Summary

Attributes inherited from Module::Context::Interface

#firewall_context_access_control_list_count, #firewall_context_access_control_lists, #id, #name, #network_vlan

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 Method Details

#get_firewall_context_access_control_listsObject



7
8
9
# File 'lib/softlayer/network/firewall/interface.rb', line 7

def get_firewall_context_access_control_lists
  request(:get_firewall_context_access_control_lists, Array[Softlayer::Network::Firewall::AccessControlList])
end

#get_network_vlanObject



11
12
13
# File 'lib/softlayer/network/firewall/interface.rb', line 11

def get_network_vlan
  request(:get_network_vlan, Softlayer::Network::Vlan)
end

#get_objectObject



15
16
17
# File 'lib/softlayer/network/firewall/interface.rb', line 15

def get_object
  request(:get_object, Softlayer::Network::Firewall::Interface)
end