Class: PaloAlto::XML::Config::Shared::DeviceObject::Entry
- Inherits:
-
ArrayConfigClass
- Object
- Expression
- PaloAlto::XML::ConfigClass
- ArrayConfigClass
- PaloAlto::XML::Config::Shared::DeviceObject::Entry
- Defined in:
- lib/palo_alto/config.rb
Defined Under Namespace
Classes: Category, Model, Os, Osfamily, Profile, Vendor
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
Attributes inherited from PaloAlto::XML::ConfigClass
#api_attributes, #parent_instance, #subclasses
Attributes inherited from Expression
Instance Method Summary collapse
- #_section ⇒ Object
- #category ⇒ Object
- #description ⇒ Object
- #description=(val) ⇒ Object
-
#disable_override ⇒ Object
disable object override in child device groups.
-
#disable_override=(val) ⇒ Object
disable object override in child device groups.
- #has_multiple_values? ⇒ Boolean
- #model ⇒ Object
-
#name ⇒ Object
alphanumeric string [ 0-9a-zA-Z._-].
- #os ⇒ Object
- #osfamily ⇒ Object
- #profile ⇒ Object
- #vendor ⇒ Object
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
#_section ⇒ Object
12694 12695 12696 |
# File 'lib/palo_alto/config.rb', line 12694 def _section :entry end |
#category ⇒ Object
12710 12711 12712 |
# File 'lib/palo_alto/config.rb', line 12710 def category maybe_register_subclass('category', Category.new(parent_instance: self, client: @client, create_children: @create_children)) end |
#description ⇒ Object
12806 12807 12808 |
# File 'lib/palo_alto/config.rb', line 12806 def description prop_get('description') end |
#description=(val) ⇒ Object
12809 12810 12811 |
# File 'lib/palo_alto/config.rb', line 12809 def description=(val) prop_set('description', val) end |
#disable_override ⇒ Object
disable object override in child device groups
12799 12800 12801 |
# File 'lib/palo_alto/config.rb', line 12799 def disable_override prop_get('disable-override') end |
#disable_override=(val) ⇒ Object
disable object override in child device groups
12803 12804 12805 |
# File 'lib/palo_alto/config.rb', line 12803 def disable_override=(val) prop_set('disable-override', val) end |
#has_multiple_values? ⇒ Boolean
12693 |
# File 'lib/palo_alto/config.rb', line 12693 def has_multiple_values?; false; end |
#model ⇒ Object
12774 12775 12776 |
# File 'lib/palo_alto/config.rb', line 12774 def model maybe_register_subclass('model', Model.new(parent_instance: self, client: @client, create_children: @create_children)) end |
#name ⇒ Object
alphanumeric string [ 0-9a-zA-Z._-]
12795 12796 12797 |
# File 'lib/palo_alto/config.rb', line 12795 def name prop_get('@name') end |
#os ⇒ Object
12758 12759 12760 |
# File 'lib/palo_alto/config.rb', line 12758 def os maybe_register_subclass('os', Os.new(parent_instance: self, client: @client, create_children: @create_children)) end |
#osfamily ⇒ Object
12742 12743 12744 |
# File 'lib/palo_alto/config.rb', line 12742 def osfamily maybe_register_subclass('osfamily', Osfamily.new(parent_instance: self, client: @client, create_children: @create_children)) end |