Class: PaloAlto::XML::Config::Shared::ContentPreview::Application::Entry::Default

Inherits:
PaloAlto::XML::ConfigClass show all
Defined in:
lib/palo_alto/config.rb

Defined Under Namespace

Classes: IdentByIcmp6Type, IdentByIcmpType, Port

Constant Summary

Constants included from DSL

DSL::AXES, DSL::LOWERCASE_LETTERS, DSL::METHODS, DSL::OPERATORS, DSL::UPPERCASE_LETTERS

Instance Attribute Summary

Attributes inherited from PaloAlto::XML::ConfigClass

#api_attributes, #parent_instance, #subclasses

Attributes inherited from Expression

#arguments, #expression

Instance Method Summary collapse

Methods inherited from PaloAlto::XML::ConfigClass

#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

Constructor Details

This class inherits a constructor from PaloAlto::XML::ConfigClass

Instance Method Details

#_sectionObject



10568
10569
10570
# File 'lib/palo_alto/config.rb', line 10568

def _section
:default
end

#has_multiple_values?Boolean

Returns:

  • (Boolean)


10567
# File 'lib/palo_alto/config.rb', line 10567

def has_multiple_values?; true; end

#ident_by_icmp6_typeObject



10630
10631
10632
# File 'lib/palo_alto/config.rb', line 10630

def ident_by_icmp6_type
@subclasses['ident-by-icmp6-type'] ||= IdentByIcmp6Type.new(parent_instance: self, client: @client, create_children: @create_children)
end

#ident_by_icmp_typeObject



10608
10609
10610
# File 'lib/palo_alto/config.rb', line 10608

def ident_by_icmp_type
@subclasses['ident-by-icmp-type'] ||= IdentByIcmpType.new(parent_instance: self, client: @client, create_children: @create_children)
end

#ident_by_ip_protocolObject



10634
10635
10636
# File 'lib/palo_alto/config.rb', line 10634

def ident_by_ip_protocol
prop_get('ident-by-ip-protocol')
end

#ident_by_ip_protocol=(val) ⇒ Object



10637
10638
10639
# File 'lib/palo_alto/config.rb', line 10637

def ident_by_ip_protocol=(val)
prop_set('ident-by-ip-protocol', val)
end

#portObject



10586
10587
10588
# File 'lib/palo_alto/config.rb', line 10586

def port
maybe_register_subclass('port', Port.new(parent_instance: self, client: @client, create_children: @create_children))
end