
org.graylog2.restroutes.generated.SavedSearchesResource Maven / Gradle / Ivy
package org.graylog2.restroutes.generated;
import org.graylog2.restroutes.PathMethod;
public class SavedSearchesResource {
public PathMethod get(String searchId) {
return new PathMethod("GET", "/search/saved/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(searchId)+"");
}
public PathMethod update(String searchId) {
return new PathMethod("PUT", "/search/saved/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(searchId)+"");
}
public PathMethod delete(String searchId) {
return new PathMethod("DELETE", "/search/saved/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(searchId)+"");
}
public PathMethod create() {
return new PathMethod("POST", "/search/saved");
}
public PathMethod list() {
return new PathMethod("GET", "/search/saved");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy