You cannot 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
Java
28 lines
541 B
Java
3 years ago
|
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;
|
||
|
}
|
||
|
}
|