Class: PaloAlto::XML::Config::Shared::PreRulebase::ApplicationOverride::Rules::Entry
Defined Under Namespace
Classes: Destination, From, Source, SourceUser, Tag, Target, To
Constant Summary
Constants included
from DSL
DSL::AXES, DSL::LOWERCASE_LETTERS, DSL::METHODS, DSL::OPERATORS, DSL::UPPERCASE_LETTERS
Instance Attribute Summary
#selector
#api_attributes, #parent_instance, #subclasses
Attributes inherited from Expression
#arguments, #expression
Instance Method Summary
collapse
#move!, #rename!, #set_xpath_from_selector!
#array_class_setter, #clear!, #complete, #create!, #delete!, #delete_child, #edit!, #enforce_type, #enforce_types, #external_set, #get, #get_all, #get_class_from_child_str, #get_primary_key, #initialize, #inspect, #maybe_register_subclass, #multimove!, #prop_get, #prop_set, #selector_subclasses, #set!, #set_array_class_attributes, #set_values, #to_xml, #values, #xml_builder
Methods inherited from Expression
#current, #initialize, #to_xpath
Methods included from DSL
#anywhere, #axis, #binary_operator, #child, #contains_word, #css, #current, #descendant, #ends_with, #function, #is, #last, #lowercase, #method, #next_sibling, #one_of, #parenthesis, #position, #previous_sibling, #qname, #relative, #root, #text, #union, #uppercase, #where, #xpath_attr
Instance Method Details
#_section ⇒ Object
32607
32608
32609
|
# File 'lib/palo_alto/config.rb', line 32607
def _section
:entry
end
|
#application ⇒ Object
32849
32850
32851
|
# File 'lib/palo_alto/config.rb', line 32849
def application
prop_get('application')
end
|
#application=(val) ⇒ Object
32852
32853
32854
|
# File 'lib/palo_alto/config.rb', line 32852
def application=(val)
prop_set('application', val)
end
|
#description ⇒ Object
32825
32826
32827
|
# File 'lib/palo_alto/config.rb', line 32825
def description
prop_get('description')
end
|
#description=(val) ⇒ Object
32828
32829
32830
|
# File 'lib/palo_alto/config.rb', line 32828
def description=(val)
prop_set('description', val)
end
|
#destination ⇒ Object
32781
32782
32783
|
# File 'lib/palo_alto/config.rb', line 32781
def destination
maybe_register_subclass('destination', Destination.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#disabled ⇒ Object
32818
32819
32820
|
# File 'lib/palo_alto/config.rb', line 32818
def disabled
prop_get('disabled')
end
|
#disabled=(val) ⇒ Object
32822
32823
32824
|
# File 'lib/palo_alto/config.rb', line 32822
def disabled=(val)
prop_set('disabled', val)
end
|
#from ⇒ Object
32717
32718
32719
|
# File 'lib/palo_alto/config.rb', line 32717
def from
maybe_register_subclass('from', From.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#group_tag ⇒ Object
32831
32832
32833
|
# File 'lib/palo_alto/config.rb', line 32831
def group_tag
prop_get('group-tag')
end
|
#group_tag=(val) ⇒ Object
32834
32835
32836
|
# File 'lib/palo_alto/config.rb', line 32834
def group_tag=(val)
prop_set('group-tag', val)
end
|
#has_multiple_values? ⇒ Boolean
32606
|
# File 'lib/palo_alto/config.rb', line 32606
def has_multiple_values?; false; end
|
#name ⇒ Object
alphanumeric string [ 0-9a-zA-Z._-]
32802
32803
32804
|
# File 'lib/palo_alto/config.rb', line 32802
def name
prop_get('@name')
end
|
#negate_destination ⇒ Object
32811
32812
32813
|
# File 'lib/palo_alto/config.rb', line 32811
def negate_destination
prop_get('negate-destination')
end
|
#negate_destination=(val) ⇒ Object
32814
32815
32816
|
# File 'lib/palo_alto/config.rb', line 32814
def negate_destination=(val)
prop_set('negate-destination', val)
end
|
#negate_source ⇒ Object
32805
32806
32807
|
# File 'lib/palo_alto/config.rb', line 32805
def negate_source
prop_get('negate-source')
end
|
#negate_source=(val) ⇒ Object
32808
32809
32810
|
# File 'lib/palo_alto/config.rb', line 32808
def negate_source=(val)
prop_set('negate-source', val)
end
|
#port ⇒ Object
32843
32844
32845
|
# File 'lib/palo_alto/config.rb', line 32843
def port
prop_get('port')
end
|
#port=(val) ⇒ Object
32846
32847
32848
|
# File 'lib/palo_alto/config.rb', line 32846
def port=(val)
prop_set('port', val)
end
|
#protocol ⇒ Object
32837
32838
32839
|
# File 'lib/palo_alto/config.rb', line 32837
def protocol
prop_get('protocol')
end
|
#protocol=(val) ⇒ Object
32840
32841
32842
|
# File 'lib/palo_alto/config.rb', line 32840
def protocol=(val)
prop_set('protocol', val)
end
|
#source ⇒ Object
32749
32750
32751
|
# File 'lib/palo_alto/config.rb', line 32749
def source
maybe_register_subclass('source', Source.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#source_user ⇒ Object
32765
32766
32767
|
# File 'lib/palo_alto/config.rb', line 32765
def source_user
maybe_register_subclass('source-user', SourceUser.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#tag ⇒ Object
32797
32798
32799
|
# File 'lib/palo_alto/config.rb', line 32797
def tag
maybe_register_subclass('tag', Tag.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#target ⇒ Object
32701
32702
32703
|
# File 'lib/palo_alto/config.rb', line 32701
def target
@subclasses['target'] ||= Target.new(parent_instance: self, client: @client, create_children: @create_children)
end
|
#to ⇒ Object
32733
32734
32735
|
# File 'lib/palo_alto/config.rb', line 32733
def to
maybe_register_subclass('to', To.new(parent_instance: self, client: @client, create_children: @create_children))
end
|