Class: PaloAlto::XML::Config::MgtConfig::Users::Entry
- Inherits:
-
ArrayConfigClass
- Object
- Expression
- PaloAlto::XML::ConfigClass
- ArrayConfigClass
- PaloAlto::XML::Config::MgtConfig::Users::Entry
- Defined in:
- lib/palo_alto/config.rb
Defined Under Namespace
Classes: Permissions, Preferences
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
- #authentication_profile ⇒ Object
- #authentication_profile=(val) ⇒ Object
-
#client_certificate_only ⇒ Object
Is client certificate authentication enough?.
-
#client_certificate_only=(val) ⇒ Object
Is client certificate authentication enough?.
- #has_multiple_values? ⇒ Boolean
-
#name ⇒ Object
user name (alphanumeric).
- #password_profile ⇒ Object
- #password_profile=(val) ⇒ Object
- #permissions ⇒ Object
- #phash ⇒ Object
- #phash=(val) ⇒ Object
- #preferences ⇒ Object
-
#public_key ⇒ Object
Public RSA/DSA.
-
#public_key=(val) ⇒ Object
Public RSA/DSA.
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
42237 42238 42239 |
# File 'lib/palo_alto/config.rb', line 42237 def _section :entry end |
#authentication_profile ⇒ Object
42943 42944 42945 |
# File 'lib/palo_alto/config.rb', line 42943 def authentication_profile prop_get('authentication-profile') end |
#authentication_profile=(val) ⇒ Object
42946 42947 42948 |
# File 'lib/palo_alto/config.rb', line 42946 def authentication_profile=(val) prop_set('authentication-profile', val) end |
#client_certificate_only ⇒ Object
Is client certificate authentication enough?
42956 42957 42958 |
# File 'lib/palo_alto/config.rb', line 42956 def client_certificate_only prop_get('client-certificate-only') end |
#client_certificate_only=(val) ⇒ Object
Is client certificate authentication enough?
42960 42961 42962 |
# File 'lib/palo_alto/config.rb', line 42960 def client_certificate_only=(val) prop_set('client-certificate-only', val) end |
#has_multiple_values? ⇒ Boolean
42236 |
# File 'lib/palo_alto/config.rb', line 42236 def has_multiple_values?; false; end |
#name ⇒ Object
user name (alphanumeric)
42934 42935 42936 |
# File 'lib/palo_alto/config.rb', line 42934 def name prop_get('@name') end |
#password_profile ⇒ Object
42949 42950 42951 |
# File 'lib/palo_alto/config.rb', line 42949 def password_profile prop_get('password-profile') end |
#password_profile=(val) ⇒ Object
42952 42953 42954 |
# File 'lib/palo_alto/config.rb', line 42952 def password_profile=(val) prop_set('password-profile', val) end |
#permissions ⇒ Object
42929 42930 42931 |
# File 'lib/palo_alto/config.rb', line 42929 def maybe_register_subclass('permissions', Permissions.new(parent_instance: self, client: @client, create_children: @create_children)) end |
#phash ⇒ Object
42937 42938 42939 |
# File 'lib/palo_alto/config.rb', line 42937 def phash prop_get('phash') end |
#phash=(val) ⇒ Object
42940 42941 42942 |
# File 'lib/palo_alto/config.rb', line 42940 def phash=(val) prop_set('phash', val) end |
#preferences ⇒ Object
42839 42840 42841 |
# File 'lib/palo_alto/config.rb', line 42839 def preferences @subclasses['preferences'] ||= Preferences.new(parent_instance: self, client: @client, create_children: @create_children) end |
#public_key ⇒ Object
Public RSA/DSA
42964 42965 42966 |
# File 'lib/palo_alto/config.rb', line 42964 def public_key prop_get('public-key') end |
#public_key=(val) ⇒ Object
Public RSA/DSA
42968 42969 42970 |
# File 'lib/palo_alto/config.rb', line 42968 def public_key=(val) prop_set('public-key', val) end |