Class: PaloAlto::XML::Config::Devices::Entry::Deviceconfig::Setting::DhcpSyslogServer::Entry

Inherits:
ArrayConfigClass show all
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 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



50530
50531
50532
# File 'lib/palo_alto/config.rb', line 50530

def _section
:entry
end

#descriptionObject



50538
50539
50540
# File 'lib/palo_alto/config.rb', line 50538

def description
prop_get('description')
end

#description=(val) ⇒ Object



50541
50542
50543
# File 'lib/palo_alto/config.rb', line 50541

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

#enabledObject

To enable or disable DHCP log collection



50545
50546
50547
# File 'lib/palo_alto/config.rb', line 50545

def enabled
prop_get('enabled')
end

#enabled=(val) ⇒ Object

To enable or disable DHCP log collection



50549
50550
50551
# File 'lib/palo_alto/config.rb', line 50549

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

#has_multiple_values?Boolean

Returns:

  • (Boolean)


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

def has_multiple_values?; false; end

#ip_addressObject

IP address for the DHCP server



50553
50554
50555
# File 'lib/palo_alto/config.rb', line 50553

def ip_address
prop_get('ip-address')
end

#ip_address=(val) ⇒ Object

IP address for the DHCP server



50557
50558
50559
# File 'lib/palo_alto/config.rb', line 50557

def ip_address=(val)
prop_set('ip-address', val)
end

#nameObject

alphanumeric string [ 0-9a-zA-Z._-]



50535
50536
50537
# File 'lib/palo_alto/config.rb', line 50535

def name
prop_get('@name')
end

#protocolObject



50560
50561
50562
# File 'lib/palo_alto/config.rb', line 50560

def protocol
prop_get('protocol')
end

#protocol=(val) ⇒ Object



50563
50564
50565
# File 'lib/palo_alto/config.rb', line 50563

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