initial commit
This commit is contained in:
25
src/main/java/de/svenkubiak/jpushover/enums/Constants.java
Normal file
25
src/main/java/de/svenkubiak/jpushover/enums/Constants.java
Normal file
@ -0,0 +1,25 @@
|
||||
package de.svenkubiak.jpushover.enums;
|
||||
|
||||
public enum Constants {
|
||||
PUSHOVER_URL("https://api.pushover.net/1/messages.json"),
|
||||
MESSAGE("message"),
|
||||
TITLE("title"),
|
||||
DEVICE("device"),
|
||||
USER("user"),
|
||||
TOKEN("token"),
|
||||
SOUND("sound"),
|
||||
PRIORITY("priority"),
|
||||
TIMESTAMP("timestamp"),
|
||||
URL("url"),
|
||||
URLTITLE("urltile");
|
||||
|
||||
private final String value;
|
||||
|
||||
Constants (String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public String value() {
|
||||
return this.value;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user