Class: PaloAlto::XML::Config::Shared::PostRulebase::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
38857
38858
38859
|
# File 'lib/palo_alto/config.rb', line 38857
def _section
:entry
end
|
#action ⇒ Object
39295
39296
39297
|
# File 'lib/palo_alto/config.rb', line 39295
def action
@subclasses['action'] ||= Action.new(parent_instance: self, client: @client, create_children: @create_children)
end
|
#application ⇒ Object
39079
39080
39081
|
# File 'lib/palo_alto/config.rb', line 39079
def application
maybe_register_subclass('application', Application.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#category ⇒ Object
39063
39064
39065
|
# File 'lib/palo_alto/config.rb', line 39063
def category
maybe_register_subclass('category', Category.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#description ⇒ Object
39329
39330
39331
|
# File 'lib/palo_alto/config.rb', line 39329
def description
prop_get('description')
end
|
#description=(val) ⇒ Object
39332
39333
39334
|
# File 'lib/palo_alto/config.rb', line 39332
def description=(val)
prop_set('description', val)
end
|
#destination ⇒ Object
39031
39032
39033
|
# File 'lib/palo_alto/config.rb', line 39031
def destination
maybe_register_subclass('destination', Destination.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#destination_hip ⇒ Object
39111
39112
39113
|
# File 'lib/palo_alto/config.rb', line 39111
def destination_hip
maybe_register_subclass('destination-hip', DestinationHip.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#disabled ⇒ Object
39322
39323
39324
|
# File 'lib/palo_alto/config.rb', line 39322
def disabled
prop_get('disabled')
end
|
#disabled=(val) ⇒ Object
39326
39327
39328
|
# File 'lib/palo_alto/config.rb', line 39326
def disabled=(val)
prop_set('disabled', val)
end
|
#dscp_tos ⇒ Object
39277
39278
39279
|
# File 'lib/palo_alto/config.rb', line 39277
def dscp_tos
maybe_register_subclass('dscp-tos', DscpTos.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#from ⇒ Object
38967
38968
38969
|
# File 'lib/palo_alto/config.rb', line 38967
def from
maybe_register_subclass('from', From.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#group_tag ⇒ Object
39335
39336
39337
|
# File 'lib/palo_alto/config.rb', line 39335
def group_tag
prop_get('group-tag')
end
|
#group_tag=(val) ⇒ Object
39338
39339
39340
|
# File 'lib/palo_alto/config.rb', line 39338
def group_tag=(val)
prop_set('group-tag', val)
end
|
#has_multiple_values? ⇒ Boolean
38856
|
# File 'lib/palo_alto/config.rb', line 38856
def has_multiple_values?; false; end
|
#name ⇒ Object
alphanumeric string [ 0-9a-zA-Z._-]
39300
39301
39302
|
# File 'lib/palo_alto/config.rb', line 39300
def name
prop_get('@name')
end
|
#negate_destination ⇒ Object
39315
39316
39317
|
# File 'lib/palo_alto/config.rb', line 39315
def negate_destination
prop_get('negate-destination')
end
|
#negate_destination=(val) ⇒ Object
39318
39319
39320
|
# File 'lib/palo_alto/config.rb', line 39318
def negate_destination=(val)
prop_set('negate-destination', val)
end
|
#negate_source ⇒ Object
39309
39310
39311
|
# File 'lib/palo_alto/config.rb', line 39309
def negate_source
prop_get('negate-source')
end
|
#negate_source=(val) ⇒ Object
39312
39313
39314
|
# File 'lib/palo_alto/config.rb', line 39312
def negate_source=(val)
prop_set('negate-source', val)
end
|
#schedule ⇒ Object
39303
39304
39305
|
# File 'lib/palo_alto/config.rb', line 39303
def schedule
prop_get('schedule')
end
|
#schedule=(val) ⇒ Object
39306
39307
39308
|
# File 'lib/palo_alto/config.rb', line 39306
def schedule=(val)
prop_set('schedule', val)
end
|
#service ⇒ Object
39047
39048
39049
|
# File 'lib/palo_alto/config.rb', line 39047
def service
maybe_register_subclass('service', Service.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#source ⇒ Object
38999
39000
39001
|
# File 'lib/palo_alto/config.rb', line 38999
def source
maybe_register_subclass('source', Source.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#source_hip ⇒ Object
39095
39096
39097
|
# File 'lib/palo_alto/config.rb', line 39095
def source_hip
maybe_register_subclass('source-hip', SourceHip.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#source_user ⇒ Object
39015
39016
39017
|
# File 'lib/palo_alto/config.rb', line 39015
def source_user
maybe_register_subclass('source-user', SourceUser.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#tag ⇒ Object
39127
39128
39129
|
# File 'lib/palo_alto/config.rb', line 39127
def tag
maybe_register_subclass('tag', Tag.new(parent_instance: self, client: @client, create_children: @create_children))
end
|
#target ⇒ Object
38951
38952
38953
|
# File 'lib/palo_alto/config.rb', line 38951
def target
@subclasses['target'] ||= Target.new(parent_instance: self, client: @client, create_children: @create_children)
end
|
#to ⇒ Object
38983
38984
38985
|
# File 'lib/palo_alto/config.rb', line 38983
def to
maybe_register_subclass('to', To.new(parent_instance: self, client: @client, create_children: @create_children))
end
|