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

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


package org.graylog2.restroutes.generated;

import org.graylog2.restroutes.PathMethod;

public class StaticFieldsResource {


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

    public PathMethod create(String inputId) {
        return new PathMethod("POST", "/system/inputs/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(inputId)+"/staticfields");
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy