Class: PaloAlto::XML::Config::Devices::Entry::Deviceconfig::System::NtpServers
- Inherits:
-
PaloAlto::XML::ConfigClass
- Object
- Expression
- PaloAlto::XML::ConfigClass
- PaloAlto::XML::Config::Devices::Entry::Deviceconfig::System::NtpServers
- Defined in:
- lib/palo_alto/config.rb
Defined Under Namespace
Classes: PrimaryNtpServer, SecondaryNtpServer
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_ntp_server ⇒ Object
- #secondary_ntp_server ⇒ 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, #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
43349 43350 43351 |
# File 'lib/palo_alto/config.rb', line 43349 def _section :'ntp-servers' end |
#has_multiple_values? ⇒ Boolean
43348 |
# File 'lib/palo_alto/config.rb', line 43348 def has_multiple_values?; false; end |
#primary_ntp_server ⇒ Object
43461 43462 43463 |
# File 'lib/palo_alto/config.rb', line 43461 def primary_ntp_server @subclasses['primary-ntp-server'] ||= PrimaryNtpServer.new(parent_instance: self, client: @client, create_children: @create_children) end |
#secondary_ntp_server ⇒ Object
43573 43574 43575 |
# File 'lib/palo_alto/config.rb', line 43573 def secondary_ntp_server @subclasses['secondary-ntp-server'] ||= SecondaryNtpServer.new(parent_instance: self, client: @client, create_children: @create_children) end |