Class: Softlayer::Network::Firewall::Module::Context::Interface

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/network/firewall/module/context/interface.rb

Direct Known Subclasses

Interface

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Network_Firewall_Module_Context_Interface'

Instance Attribute Summary collapse

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

#firewall_context_access_control_list_countObject

Returns the value of attribute firewall_context_access_control_list_count.



10
11
12
# File 'lib/softlayer/network/firewall/module/context/interface.rb', line 10

def firewall_context_access_control_list_count
  @firewall_context_access_control_list_count
end

#firewall_context_access_control_listsObject

Returns the value of attribute firewall_context_access_control_lists.



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

def firewall_context_access_control_lists
  @firewall_context_access_control_lists
end

#idObject

Returns the value of attribute id.



8
9
10
# File 'lib/softlayer/network/firewall/module/context/interface.rb', line 8

def id
  @id
end

#nameObject

Returns the value of attribute name.



9
10
11
# File 'lib/softlayer/network/firewall/module/context/interface.rb', line 9

def name
  @name
end

#network_vlanObject

Returns the value of attribute network_vlan.



12
13
14
# File 'lib/softlayer/network/firewall/module/context/interface.rb', line 12

def network_vlan
  @network_vlan
end

Instance Method Details

#get_firewall_context_access_control_listsObject



14
15
16
# File 'lib/softlayer/network/firewall/module/context/interface.rb', line 14

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

#get_network_vlanObject



18
19
20
# File 'lib/softlayer/network/firewall/module/context/interface.rb', line 18

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

#get_objectObject



22
23
24
# File 'lib/softlayer/network/firewall/module/context/interface.rb', line 22

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