Class: PaloAlto::XML::Config::Shared::PreRulebase::Qos::Rules::Entry
Defined Under Namespace
Classes: Action, Application, Category, Destination, DestinationHip, DscpTos, From, Service, Source, SourceHip, SourceUser, Tag, Target, To
Constant Summary
Constants included
from DSL
DSL::AXES, DSL::LOWERCASE_LETTERS, DSL::METHODS, DSL::OPERATORS, DSL::UPPERCASE_LETTERS
Instance Attribute Summary
#selector
#api_attributes, #parent_instance, #subclasses
Attributes inherited from Expression
#arguments, #expression
Instance Method Summary
collapse
#move!, #rename!, #set_xpath_from_selector!
#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
Instance Method Details
#_section ⇒ Object
33669
33670
33671
|
# File 'lib/palo_alto/config.rb', line 33669
def _section
:entry
end
|
#action ⇒ Object
34107
34108
34109
|
# File 'lib/palo_alto/config.rb', line 34107
def action
@subclasses['action'] ||= Action.new(parent_instance: self, client: @client, create_children: @create_children)
end
|
#application ⇒ Object
33891
33892
33893
|
# File 'lib/palo_alto/config.rb', line 33891
def application
maybe_register_subclass('application', Application.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#category ⇒ Object
33875
33876
33877
|
# File 'lib/palo_alto/config.rb', line 33875
def category
maybe_register_subclass('category', Category.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#description ⇒ Object
34141
34142
34143
|
# File 'lib/palo_alto/config.rb', line 34141
def description
prop_get('description')
end
|
#description=(val) ⇒ Object
34144
34145
34146
|
# File 'lib/palo_alto/config.rb', line 34144
def description=(val)
prop_set('description', val)
end
|
#destination ⇒ Object
33843
33844
33845
|
# File 'lib/palo_alto/config.rb', line 33843
def destination
maybe_register_subclass('destination', Destination.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#destination_hip ⇒ Object
33923
33924
33925
|
# File 'lib/palo_alto/config.rb', line 33923
def destination_hip
maybe_register_subclass('destination-hip', DestinationHip.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#disabled ⇒ Object
34134
34135
34136
|
# File 'lib/palo_alto/config.rb', line 34134
def disabled
prop_get('disabled')
end
|
#disabled=(val) ⇒ Object
34138
34139
34140
|
# File 'lib/palo_alto/config.rb', line 34138
def disabled=(val)
prop_set('disabled', val)
end
|
#dscp_tos ⇒ Object
34089
34090
34091
|
# File 'lib/palo_alto/config.rb', line 34089
def dscp_tos
maybe_register_subclass('dscp-tos', DscpTos.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#from ⇒ Object
33779
33780
33781
|
# File 'lib/palo_alto/config.rb', line 33779
def from
maybe_register_subclass('from', From.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#group_tag ⇒ Object
34147
34148
34149
|
# File 'lib/palo_alto/config.rb', line 34147
def group_tag
prop_get('group-tag')
end
|
#group_tag=(val) ⇒ Object
34150
34151
34152
|
# File 'lib/palo_alto/config.rb', line 34150
def group_tag=(val)
prop_set('group-tag', val)
end
|
#has_multiple_values? ⇒ Boolean
33668
|
# File 'lib/palo_alto/config.rb', line 33668
def has_multiple_values?; false; end
|
#name ⇒ Object
alphanumeric string [ 0-9a-zA-Z._-]
34112
34113
34114
|
# File 'lib/palo_alto/config.rb', line 34112
def name
prop_get('@name')
end
|
#negate_destination ⇒ Object
34127
34128
34129
|
# File 'lib/palo_alto/config.rb', line 34127
def negate_destination
prop_get('negate-destination')
end
|
#negate_destination=(val) ⇒ Object
34130
34131
34132
|
# File 'lib/palo_alto/config.rb', line 34130
def negate_destination=(val)
prop_set('negate-destination', val)
end
|
#negate_source ⇒ Object
34121
34122
34123
|
# File 'lib/palo_alto/config.rb', line 34121
def negate_source
prop_get('negate-source')
end
|
#negate_source=(val) ⇒ Object
34124
34125
34126
|
# File 'lib/palo_alto/config.rb', line 34124
def negate_source=(val)
prop_set('negate-source', val)
end
|
#schedule ⇒ Object
34115
34116
34117
|
# File 'lib/palo_alto/config.rb', line 34115
def schedule
prop_get('schedule')
end
|
#schedule=(val) ⇒ Object
34118
34119
34120
|
# File 'lib/palo_alto/config.rb', line 34118
def schedule=(val)
prop_set('schedule', val)
end
|
#service ⇒ Object
33859
33860
33861
|
# File 'lib/palo_alto/config.rb', line 33859
def service
maybe_register_subclass('service', Service.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#source ⇒ Object
33811
33812
33813
|
# File 'lib/palo_alto/config.rb', line 33811
def source
maybe_register_subclass('source', Source.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#source_hip ⇒ Object
33907
33908
33909
|
# File 'lib/palo_alto/config.rb', line 33907
def source_hip
maybe_register_subclass('source-hip', SourceHip.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#source_user ⇒ Object
33827
33828
33829
|
# File 'lib/palo_alto/config.rb', line 33827
def source_user
maybe_register_subclass('source-user', SourceUser.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#tag ⇒ Object
33939
33940
33941
|
# File 'lib/palo_alto/config.rb', line 33939
def tag
maybe_register_subclass('tag', Tag.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#target ⇒ Object
33763
33764
33765
|
# File 'lib/palo_alto/config.rb', line 33763
def target
@subclasses['target'] ||= Target.new(parent_instance: self, client: @client, create_children: @create_children)
end
|
#to ⇒ Object
33795
33796
33797
|
# File 'lib/palo_alto/config.rb', line 33795
def to
maybe_register_subclass('to', To.new(parent_instance: self, client: @client, create_children: @create_children))
end
|