Class: PaloAlto::XML::Config::Devices::Entry::Deviceconfig::Setting::Management::AdminSession

Inherits:
PaloAlto::XML::ConfigClass 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 PaloAlto::XML::ConfigClass

#api_attributes, #parent_instance, #subclasses

Attributes inherited from Expression

#arguments, #expression

Instance Method Summary collapse

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



49840
49841
49842
# File 'lib/palo_alto/config.rb', line 49840

def _section
:'admin-session'
end

#has_multiple_values?Boolean

Returns:

  • (Boolean)


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

def has_multiple_values?; false; end

#max_session_countObject

Set the maximum number of sessions administrators are allowed



49845
49846
49847
# File 'lib/palo_alto/config.rb', line 49845

def max_session_count
prop_get('max-session-count')
end

#max_session_count=(val) ⇒ Object

Set the maximum number of sessions administrators are allowed



49849
49850
49851
# File 'lib/palo_alto/config.rb', line 49849

def max_session_count=(val)
prop_set('max-session-count', val)
end

#max_session_timeObject

Set the maximum session time (0, 60-1499 minutes)



49853
49854
49855
# File 'lib/palo_alto/config.rb', line 49853

def max_session_time
prop_get('max-session-time')
end

#max_session_time=(val) ⇒ Object

Set the maximum session time (0, 60-1499 minutes)



49857
49858
49859
# File 'lib/palo_alto/config.rb', line 49857

def max_session_time=(val)
prop_set('max-session-time', val)
end