class OpsgenieSdk::NotificationActionType

Constants

ACKNOWLEDGED_ALERT
ADD_NOTE
ASSIGNED_ALERT
CLOSED_ALERT
CREATE_ALERT
INCOMING_CALL_ROUTING
RENOTIFIED_ALERT
SCHEDULE_END
SCHEDULE_START

Public Instance Methods

build_from_hash(value) click to toggle source

Builds the enum from string @param [String] The enum value in the form of the string @return [String] The enum value

# File lib/opsgenie_sdk/models/notification_action_type.rb, line 31
def build_from_hash(value)
  constantValues = NotificationActionType.constants.select { |c| NotificationActionType::const_get(c) == value }
  raise "Invalid ENUM value #{value} for class #NotificationActionType" if constantValues.empty?
  value
end