All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.graylog2.restroutes.generated.SavedSearchesResource Maven / Gradle / Ivy

The newest version!

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 - 2024 Weber Informatics LLC | Privacy Policy