Class: PaloAlto::XML::Config::Shared::AddressGroup::Entry

Inherits:
ArrayConfigClass show all
Defined in:
lib/palo_alto/config.rb

Defined Under Namespace

Classes: Dynamic, Static, Tag

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



11072
11073
11074
# File 'lib/palo_alto/config.rb', line 11072

def _section
:entry
end

#descriptionObject



11138
11139
11140
# File 'lib/palo_alto/config.rb', line 11138

def description
prop_get('description')
end

#description=(val) ⇒ Object



11141
11142
11143
# File 'lib/palo_alto/config.rb', line 11141

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

#disable_overrideObject

disable object override in child device groups



11131
11132
11133
# File 'lib/palo_alto/config.rb', line 11131

def disable_override
prop_get('disable-override')
end

#disable_override=(val) ⇒ Object

disable object override in child device groups



11135
11136
11137
# File 'lib/palo_alto/config.rb', line 11135

def disable_override=(val)
prop_set('disable-override', val)
end

#dynamicObject



11106
11107
11108
# File 'lib/palo_alto/config.rb', line 11106

def dynamic
@subclasses['dynamic'] ||= Dynamic.new(parent_instance: self, client: @client, create_children: @create_children)
end

#has_multiple_values?Boolean

Returns:

  • (Boolean)


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

def has_multiple_values?; false; end

#nameObject

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



11127
11128
11129
# File 'lib/palo_alto/config.rb', line 11127

def name
prop_get('@name')
end

#staticObject



11088
11089
11090
# File 'lib/palo_alto/config.rb', line 11088

def static
maybe_register_subclass('static', Static.new(parent_instance: self, client: @client, create_children: @create_children))
end

#tagObject



11122
11123
11124
# File 'lib/palo_alto/config.rb', line 11122

def tag
maybe_register_subclass('tag', Tag.new(parent_instance: self, client: @client, create_children: @create_children))
end