Class: PaloAlto::XML::Config::Devices
- Inherits:
-
PaloAlto::XML::ConfigClass
- Object
- Expression
- PaloAlto::XML::ConfigClass
- PaloAlto::XML::Config::Devices
- Defined in:
- lib/palo_alto/config.rb
Defined Under Namespace
Classes: Entry
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
Instance Method Summary collapse
- #_section ⇒ Object
- #entries ⇒ Object
- #entry(*args, &block) ⇒ Object
- #has_multiple_values? ⇒ Boolean
- #selector_subclasses ⇒ Object
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, #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
#_section ⇒ Object
43239 43240 43241 |
# File 'lib/palo_alto/config.rb', line 43239 def _section :devices end |
#entries ⇒ Object
271915 271916 271917 |
# File 'lib/palo_alto/config.rb', line 271915 def entries return @subclasses['entry'] end |
#entry(*args, &block) ⇒ Object
271918 271919 271920 |
# File 'lib/palo_alto/config.rb', line 271918 def entry(*args, &block) array_class_setter(*args, klass: Entry, section: 'entry', &block) end |
#has_multiple_values? ⇒ Boolean
43238 |
# File 'lib/palo_alto/config.rb', line 43238 def has_multiple_values?; true; end |
#selector_subclasses ⇒ Object
271912 271913 271914 |
# File 'lib/palo_alto/config.rb', line 271912 def selector_subclasses ['entry'] end |