Added support for Glances API and completly reworked API
This commit is contained in:
39
src/main/java/de/svenkubiak/jpushover/enums/Param.java
Normal file
39
src/main/java/de/svenkubiak/jpushover/enums/Param.java
Normal file
@ -0,0 +1,39 @@
|
||||
package de.svenkubiak.jpushover.enums;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author svenkubiak
|
||||
*
|
||||
*/
|
||||
public enum Param {
|
||||
ATTACHMENT("attachment"),
|
||||
CALLBACK("callback"),
|
||||
DEVICE("device"),
|
||||
EXPIRE("expire"),
|
||||
HTML("html"),
|
||||
MESSAGE("message"),
|
||||
PRIORITY("priority"),
|
||||
RETRY("retry"),
|
||||
SOUND("sound"),
|
||||
TIMESTAMP("timestamp"),
|
||||
TITLE("title"),
|
||||
TOKEN("token"),
|
||||
URL("url"),
|
||||
URLTITLE("urltitle"),
|
||||
USER("user"),
|
||||
TEXT("text"),
|
||||
SUBTEXT("subtext"),
|
||||
COUNT("count"),
|
||||
PERCENT("percent");
|
||||
|
||||
private final String value;
|
||||
|
||||
Param (String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return this.value;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user