You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
556 B
30 lines
556 B
package com.github.jreddit.request.retrieval.param;
|
|
|
|
/**
|
|
* Enum to represent comment sorts on Reddit. You see these on a page that lists comments.
|
|
*
|
|
* @author Evin Ugur
|
|
* @author Raul Rene Lepsa
|
|
* @author Simon Kassing
|
|
*/
|
|
public enum CommentSort {
|
|
|
|
CONFIDENCE("confidence"),
|
|
NEW("new"),
|
|
TOP("top"),
|
|
CONTROVERSIAL("controversial"),
|
|
OLD("old"),
|
|
QA("qa");
|
|
|
|
private final String value;
|
|
|
|
CommentSort(String value) {
|
|
this.value = value;
|
|
}
|
|
|
|
public String value() {
|
|
return this.value;
|
|
}
|
|
|
|
}
|