Class: Softlayer::Network::Firewall::Update::Request::Rule
- Defined in:
- lib/softlayer/network/firewall/update/request/rule.rb,
lib/softlayer/network/firewall/update/request/rule/version6.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Representer, Version6
Constant Summary collapse
- SERVICE =
'SoftLayer_Network_Firewall_Update_Request_Rule'
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#destination_ip_address ⇒ Object
Returns the value of attribute destination_ip_address.
-
#destination_ip_cidr ⇒ Object
Returns the value of attribute destination_ip_cidr.
-
#destination_ip_subnet_mask ⇒ Object
Returns the value of attribute destination_ip_subnet_mask.
-
#destination_port_range_end ⇒ Object
Returns the value of attribute destination_port_range_end.
-
#destination_port_range_start ⇒ Object
Returns the value of attribute destination_port_range_start.
-
#firewall_update_request ⇒ Object
Returns the value of attribute firewall_update_request.
-
#firewall_update_request_id ⇒ Object
Returns the value of attribute firewall_update_request_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#notes ⇒ Object
Returns the value of attribute notes.
-
#order_value ⇒ Object
Returns the value of attribute order_value.
-
#protocol ⇒ Object
Returns the value of attribute protocol.
-
#source_ip_address ⇒ Object
Returns the value of attribute source_ip_address.
-
#source_ip_cidr ⇒ Object
Returns the value of attribute source_ip_cidr.
-
#source_ip_subnet_mask ⇒ Object
Returns the value of attribute source_ip_subnet_mask.
-
#version ⇒ Object
Returns the value of attribute version.
Class Method Summary collapse
-
.create_object(message) ⇒ Object
template_object.
-
.validate_rule(message) ⇒ Object
rule apply_to_component_id apply_to_acl_id.
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
#action ⇒ Object
Returns the value of attribute action.
9 10 11 |
# File 'lib/softlayer/network/firewall/update/request/rule.rb', line 9 def action @action end |
#destination_ip_address ⇒ Object
Returns the value of attribute destination_ip_address.
10 11 12 |
# File 'lib/softlayer/network/firewall/update/request/rule.rb', line 10 def destination_ip_address @destination_ip_address end |
#destination_ip_cidr ⇒ Object
Returns the value of attribute destination_ip_cidr.
11 12 13 |
# File 'lib/softlayer/network/firewall/update/request/rule.rb', line 11 def destination_ip_cidr @destination_ip_cidr end |
#destination_ip_subnet_mask ⇒ Object
Returns the value of attribute destination_ip_subnet_mask.
12 13 14 |
# File 'lib/softlayer/network/firewall/update/request/rule.rb', line 12 def destination_ip_subnet_mask @destination_ip_subnet_mask end |
#destination_port_range_end ⇒ Object
Returns the value of attribute destination_port_range_end.
13 14 15 |
# File 'lib/softlayer/network/firewall/update/request/rule.rb', line 13 def destination_port_range_end @destination_port_range_end end |
#destination_port_range_start ⇒ Object
Returns the value of attribute destination_port_range_start.
14 15 16 |
# File 'lib/softlayer/network/firewall/update/request/rule.rb', line 14 def destination_port_range_start @destination_port_range_start end |
#firewall_update_request ⇒ Object
Returns the value of attribute firewall_update_request.
24 25 26 |
# File 'lib/softlayer/network/firewall/update/request/rule.rb', line 24 def firewall_update_request @firewall_update_request end |
#firewall_update_request_id ⇒ Object
Returns the value of attribute firewall_update_request_id.
15 16 17 |
# File 'lib/softlayer/network/firewall/update/request/rule.rb', line 15 def firewall_update_request_id @firewall_update_request_id end |
#id ⇒ Object
Returns the value of attribute id.
16 17 18 |
# File 'lib/softlayer/network/firewall/update/request/rule.rb', line 16 def id @id end |
#notes ⇒ Object
Returns the value of attribute notes.
17 18 19 |
# File 'lib/softlayer/network/firewall/update/request/rule.rb', line 17 def notes @notes end |
#order_value ⇒ Object
Returns the value of attribute order_value.
18 19 20 |
# File 'lib/softlayer/network/firewall/update/request/rule.rb', line 18 def order_value @order_value end |
#protocol ⇒ Object
Returns the value of attribute protocol.
19 20 21 |
# File 'lib/softlayer/network/firewall/update/request/rule.rb', line 19 def protocol @protocol end |
#source_ip_address ⇒ Object
Returns the value of attribute source_ip_address.
20 21 22 |
# File 'lib/softlayer/network/firewall/update/request/rule.rb', line 20 def source_ip_address @source_ip_address end |
#source_ip_cidr ⇒ Object
Returns the value of attribute source_ip_cidr.
21 22 23 |
# File 'lib/softlayer/network/firewall/update/request/rule.rb', line 21 def source_ip_cidr @source_ip_cidr end |
#source_ip_subnet_mask ⇒ Object
Returns the value of attribute source_ip_subnet_mask.
22 23 24 |
# File 'lib/softlayer/network/firewall/update/request/rule.rb', line 22 def source_ip_subnet_mask @source_ip_subnet_mask end |
#version ⇒ Object
Returns the value of attribute version.
23 24 25 |
# File 'lib/softlayer/network/firewall/update/request/rule.rb', line 23 def version @version end |
Class Method Details
.create_object(message) ⇒ Object
template_object
27 28 29 |
# File 'lib/softlayer/network/firewall/update/request/rule.rb', line 27 def self.create_object() request(:create_object, Softlayer::Network::Firewall::Update::Request::Rule, ) end |
.validate_rule(message) ⇒ Object
rule apply_to_component_id apply_to_acl_id
42 43 44 |
# File 'lib/softlayer/network/firewall/update/request/rule.rb', line 42 def self.validate_rule() request(:validate_rule, nil, ) end |