Class: PaloAlto::XML::Config::Panorama::LogSettings::Wildfire::MatchList::Entry

Inherits:
ArrayConfigClass show all
Defined in:
lib/palo_alto/config.rb

Defined Under Namespace

Classes: Actions, SendEmail, SendHttp, SendSnmptrap, SendSyslog

Constant Summary

Constants included from DSL

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

Instance Attribute Summary

Attributes inherited from ArrayConfigClass

#selector

Attributes inherited from PaloAlto::XML::ConfigClass

#api_attributes, #parent_instance, #subclasses

Attributes inherited from Expression

#arguments, #expression

Instance Method Summary collapse

Methods inherited from ArrayConfigClass

#move!, #rename!, #set_xpath_from_selector!

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



4448
4449
4450
# File 'lib/palo_alto/config.rb', line 4448

def _section
:entry
end

#actionsObject



4634
4635
4636
# File 'lib/palo_alto/config.rb', line 4634

def actions
maybe_register_subclass('actions', Actions.new(parent_instance: self, client: @client, create_children: @create_children))
end

#descriptionObject



4641
4642
4643
# File 'lib/palo_alto/config.rb', line 4641

def description
prop_get('description')
end

#description=(val) ⇒ Object



4644
4645
4646
# File 'lib/palo_alto/config.rb', line 4644

def description=(val)
prop_set('description', val)
end

#filterObject



4647
4648
4649
# File 'lib/palo_alto/config.rb', line 4647

def filter
prop_get('filter')
end

#filter=(val) ⇒ Object



4650
4651
4652
# File 'lib/palo_alto/config.rb', line 4650

def filter=(val)
prop_set('filter', val)
end

#has_multiple_values?Boolean

Returns:

  • (Boolean)


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

def has_multiple_values?; false; end

#nameObject



4638
4639
4640
# File 'lib/palo_alto/config.rb', line 4638

def name
prop_get('@name')
end

#quarantineObject



4653
4654
4655
# File 'lib/palo_alto/config.rb', line 4653

def quarantine
prop_get('quarantine')
end

#quarantine=(val) ⇒ Object



4656
4657
4658
# File 'lib/palo_alto/config.rb', line 4656

def quarantine=(val)
prop_set('quarantine', val)
end

#send_emailObject



4480
4481
4482
# File 'lib/palo_alto/config.rb', line 4480

def send_email
maybe_register_subclass('send-email', SendEmail.new(parent_instance: self, client: @client, create_children: @create_children))
end

#send_httpObject



4512
4513
4514
# File 'lib/palo_alto/config.rb', line 4512

def send_http
maybe_register_subclass('send-http', SendHttp.new(parent_instance: self, client: @client, create_children: @create_children))
end

#send_snmptrapObject



4464
4465
4466
# File 'lib/palo_alto/config.rb', line 4464

def send_snmptrap
maybe_register_subclass('send-snmptrap', SendSnmptrap.new(parent_instance: self, client: @client, create_children: @create_children))
end

#send_syslogObject



4496
4497
4498
# File 'lib/palo_alto/config.rb', line 4496

def send_syslog
maybe_register_subclass('send-syslog', SendSyslog.new(parent_instance: self, client: @client, create_children: @create_children))
end