package net.pushover.client;

/**
 * Enumeration to represent the priority of a message
 */
public enum MessagePriority {

    QUIET(-1), NORMAL(0), HIGH(1);

    MessagePriority(int priority) {
        this.priority = priority;
    }

    private final int priority;

    public int getPriority() {
        return priority;
    }

    @Override
    public String toString() {
        return String.valueOf(this.priority);
    }
}

@@ -119,16 +119,37 @@
 y %7B%0A%0A   
+ LOWEST(-2), LOW(-1),
  QUIET(-
@@ -170,16 +170,30 @@
  HIGH(1)
+, EMERGENCY(2)
 ;%0A%0A    M

update message priority enum