Class: PaloAlto::XML::Config::Shared::Reports::Entry::Type::Threat

Inherits:
PaloAlto::XML::ConfigClass show all
Defined in:
lib/palo_alto/config.rb

Defined Under Namespace

Classes: AggregateBy, Labels, Values

Constant Summary

Constants included from DSL

DSL::AXES, DSL::LOWERCASE_LETTERS, DSL::METHODS, DSL::OPERATORS, DSL::UPPERCASE_LETTERS

Instance Attribute Summary

Attributes inherited from PaloAlto::XML::ConfigClass

#api_attributes, #parent_instance, #subclasses

Attributes inherited from Expression

#arguments, #expression

Instance Method Summary collapse

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, #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



20747
20748
20749
# File 'lib/palo_alto/config.rb', line 20747

def _section
:threat
end

#aggregate_byObject



20763
20764
20765
# File 'lib/palo_alto/config.rb', line 20763

def aggregate_by
maybe_register_subclass('aggregate-by', AggregateBy.new(parent_instance: self, client: @client, create_children: @create_children))
end

#group_byObject



20799
20800
20801
# File 'lib/palo_alto/config.rb', line 20799

def group_by
prop_get('group-by')
end

#group_by=(val) ⇒ Object



20802
20803
20804
# File 'lib/palo_alto/config.rb', line 20802

def group_by=(val)
prop_set('group-by', val)
end

#has_multiple_values?Boolean

Returns:

  • (Boolean)


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

def has_multiple_values?; false; end

#labelsObject



20795
20796
20797
# File 'lib/palo_alto/config.rb', line 20795

def labels
maybe_register_subclass('labels', Labels.new(parent_instance: self, client: @client, create_children: @create_children))
end

#sortbyObject



20805
20806
20807
# File 'lib/palo_alto/config.rb', line 20805

def sortby
prop_get('sortby')
end

#sortby=(val) ⇒ Object



20808
20809
20810
# File 'lib/palo_alto/config.rb', line 20808

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

#valuesObject



20779
20780
20781
# File 'lib/palo_alto/config.rb', line 20779

def values
maybe_register_subclass('values', Values.new(parent_instance: self, client: @client, create_children: @create_children))
end