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.
28 lines
541 B
28 lines
541 B
package com.github.jreddit.request.retrieval.param;
|
|
|
|
/**
|
|
* Enum to represent submission sorts on Reddit. You see these on a page that lists Submissions.
|
|
*
|
|
* @author Evin Ugur
|
|
* @author Raul Rene Lepsa
|
|
* @author Simon Kassing
|
|
*/
|
|
public enum SubmissionSort {
|
|
|
|
HOT("hot"),
|
|
NEW("new"),
|
|
RISING("rising"),
|
|
CONTROVERSIAL("controversial"),
|
|
TOP("top");
|
|
|
|
private final String value;
|
|
|
|
SubmissionSort(String value) {
|
|
this.value = value;
|
|
}
|
|
|
|
public String value() {
|
|
return this.value;
|
|
}
|
|
}
|