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

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


package org.graylog2.restroutes.generated;

import org.graylog2.restroutes.PathMethod;

public class OutputResource {


    public PathMethod get() {
        return new PathMethod("GET", "/system/outputs");
    }

    public PathMethod get(String outputId) {
        return new PathMethod("GET", "/system/outputs/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(outputId)+"");
    }

    public PathMethod update(String outputId) {
        return new PathMethod("PUT", "/system/outputs/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(outputId)+"");
    }

    public PathMethod delete(String outputId) {
        return new PathMethod("DELETE", "/system/outputs/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(outputId)+"");
    }

    public PathMethod create() {
        return new PathMethod("POST", "/system/outputs");
    }

    public PathMethod available() {
        return new PathMethod("GET", "/system/outputs/available");
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy