org.graylog2.restroutes.generated.BlacklistSourceResource Maven / Gradle / Ivy
The newest version!
package org.graylog2.restroutes.generated;
import org.graylog2.restroutes.PathMethod;
public class BlacklistSourceResource {
public PathMethod get(String filterId) {
return new PathMethod("GET", "/filters/blacklist/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(filterId)+"");
}
public PathMethod update(String filterId) {
return new PathMethod("PUT", "/filters/blacklist/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(filterId)+"");
}
public PathMethod delete(String filterId) {
return new PathMethod("DELETE", "/filters/blacklist/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(filterId)+"");
}
public PathMethod create() {
return new PathMethod("POST", "/filters/blacklist");
}
public PathMethod getAll() {
return new PathMethod("GET", "/filters/blacklist");
}
}