Class: PaloAlto::XML::Config::Devices::Entry::Deviceconfig::System::DnsSetting::Servers
- Inherits:
-
PaloAlto::XML::ConfigClass
- Object
- Expression
- PaloAlto::XML::ConfigClass
- PaloAlto::XML::Config::Devices::Entry::Deviceconfig::System::DnsSetting::Servers
- Defined in:
- lib/palo_alto/config.rb
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
- #has_multiple_values? ⇒ Boolean
-
#primary ⇒ Object
Primary DNS server IP address.
-
#primary=(val) ⇒ Object
Primary DNS server IP address.
-
#secondary ⇒ Object
Secondary DNS server IP address.
-
#secondary=(val) ⇒ Object
Secondary DNS server IP address.
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
43318 43319 43320 |
# File 'lib/palo_alto/config.rb', line 43318 def _section :servers end |
#has_multiple_values? ⇒ Boolean
43317 |
# File 'lib/palo_alto/config.rb', line 43317 def has_multiple_values?; false; end |
#primary ⇒ Object
Primary DNS server IP address
43323 43324 43325 |
# File 'lib/palo_alto/config.rb', line 43323 def primary prop_get('primary') end |
#primary=(val) ⇒ Object
Primary DNS server IP address
43327 43328 43329 |
# File 'lib/palo_alto/config.rb', line 43327 def primary=(val) prop_set('primary', val) end |
#secondary ⇒ Object
Secondary DNS server IP address
43331 43332 43333 |
# File 'lib/palo_alto/config.rb', line 43331 def secondary prop_get('secondary') end |
#secondary=(val) ⇒ Object
Secondary DNS server IP address
43335 43336 43337 |
# File 'lib/palo_alto/config.rb', line 43335 def secondary=(val) prop_set('secondary', val) end |