Adjusted ApiClient to support "unrating" files

This commit is contained in:
CrushedPixel
2015-05-24 13:49:09 +02:00
parent 7d9b92423d
commit 27f2b50aee
2 changed files with 15 additions and 2 deletions

View File

@@ -11,4 +11,17 @@ public class Rating {
public int getPositive() {
return positive;
}
public enum RatingType {
LIKE("like"), DISLIKE("dislike"), NEUTRAL("neutral");
private String key;
public String getKey() { return key; }
RatingType(String key) {
this.key = key;
}
}
}