Class: Legion::Alerts::AlertRule

Inherits:
Struct
  • Object
show all
Defined in:
lib/legion/alerts.rb

Instance Attribute Summary collapse

Instance Attribute Details

#channelsObject

Returns the value of attribute channels

Returns:

  • (Object)

    the current value of channels



5
6
7
# File 'lib/legion/alerts.rb', line 5

def channels
  @channels
end

#conditionObject

Returns the value of attribute condition

Returns:

  • (Object)

    the current value of condition



5
6
7
# File 'lib/legion/alerts.rb', line 5

def condition
  @condition
end

#cooldown_secondsObject

Returns the value of attribute cooldown_seconds

Returns:

  • (Object)

    the current value of cooldown_seconds



5
6
7
# File 'lib/legion/alerts.rb', line 5

def cooldown_seconds
  @cooldown_seconds
end

#event_patternObject

Returns the value of attribute event_pattern

Returns:

  • (Object)

    the current value of event_pattern



5
6
7
# File 'lib/legion/alerts.rb', line 5

def event_pattern
  @event_pattern
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



5
6
7
# File 'lib/legion/alerts.rb', line 5

def name
  @name
end

#severityObject

Returns the value of attribute severity

Returns:

  • (Object)

    the current value of severity



5
6
7
# File 'lib/legion/alerts.rb', line 5

def severity
  @severity
end