Class: PaloAlto::XML::Config::Shared::DeviceObject::Entry

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

Defined Under Namespace

Classes: Category, Model, Os, Osfamily, Profile, Vendor

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



12694
12695
12696
# File 'lib/palo_alto/config.rb', line 12694

def _section
:entry
end

#categoryObject



12710
12711
12712
# File 'lib/palo_alto/config.rb', line 12710

def category
maybe_register_subclass('category', Category.new(parent_instance: self, client: @client, create_children: @create_children))
end

#descriptionObject



12806
12807
12808
# File 'lib/palo_alto/config.rb', line 12806

def description
prop_get('description')
end

#description=(val) ⇒ Object



12809
12810
12811
# File 'lib/palo_alto/config.rb', line 12809

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

#disable_overrideObject

disable object override in child device groups



12799
12800
12801
# File 'lib/palo_alto/config.rb', line 12799

def disable_override
prop_get('disable-override')
end

#disable_override=(val) ⇒ Object

disable object override in child device groups



12803
12804
12805
# File 'lib/palo_alto/config.rb', line 12803

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

#has_multiple_values?Boolean

Returns:

  • (Boolean)


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

def has_multiple_values?; false; end

#modelObject



12774
12775
12776
# File 'lib/palo_alto/config.rb', line 12774

def model
maybe_register_subclass('model', Model.new(parent_instance: self, client: @client, create_children: @create_children))
end

#nameObject

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



12795
12796
12797
# File 'lib/palo_alto/config.rb', line 12795

def name
prop_get('@name')
end

#osObject



12758
12759
12760
# File 'lib/palo_alto/config.rb', line 12758

def os
maybe_register_subclass('os', Os.new(parent_instance: self, client: @client, create_children: @create_children))
end

#osfamilyObject



12742
12743
12744
# File 'lib/palo_alto/config.rb', line 12742

def osfamily
maybe_register_subclass('osfamily', Osfamily.new(parent_instance: self, client: @client, create_children: @create_children))
end

#profileObject



12726
12727
12728
# File 'lib/palo_alto/config.rb', line 12726

def profile
maybe_register_subclass('profile', Profile.new(parent_instance: self, client: @client, create_children: @create_children))
end

#vendorObject



12790
12791
12792
# File 'lib/palo_alto/config.rb', line 12790

def vendor
maybe_register_subclass('vendor', Vendor.new(parent_instance: self, client: @client, create_children: @create_children))
end