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.
20 lines
482 B
Java
20 lines
482 B
Java
3 years ago
|
package com.github.jreddit.request.action.flair;
|
||
|
|
||
|
import com.github.jreddit.request.RedditPostRequest;
|
||
|
|
||
|
public class DeleteFlairRequest extends RedditPostRequest {
|
||
|
|
||
|
/** Endpoint format. */
|
||
|
private static final String ENDPOINT_FORMAT = "/api/deleteflair.json?";
|
||
|
|
||
|
public DeleteFlairRequest(String username) {
|
||
|
this.addBodyParameter("name", username);
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public String generateRedditURI() {
|
||
|
return ENDPOINT_FORMAT;
|
||
|
}
|
||
|
|
||
|
}
|