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.
26 lines
516 B
Java
26 lines
516 B
Java
3 years ago
|
package com.github.jreddit.request.retrieval.param;
|
||
|
|
||
|
/**
|
||
|
* Enumeration to represent the different subreddit categories.
|
||
|
* @author Simon Kassing
|
||
|
*/
|
||
|
public enum SubredditsView {
|
||
|
|
||
|
NEW("new"),
|
||
|
POPULAR("popular"),
|
||
|
MINE_SUBSCRIBER("mine/subscriber"),
|
||
|
MINE_CONTRIBUTOR("mine/contributor"),
|
||
|
MINE_MODERATOR("mine/moderator");
|
||
|
|
||
|
private final String value;
|
||
|
|
||
|
SubredditsView(String value) {
|
||
|
this.value = value;
|
||
|
}
|
||
|
|
||
|
public String value() {
|
||
|
return this.value;
|
||
|
}
|
||
|
|
||
|
}
|