Adjusted ApiClient to support "unrating" files
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user