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

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

The newest version!

package org.graylog2.restroutes.generated;

import org.graylog2.restroutes.PathMethod;

public class RadiosResource {


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

    public PathMethod persistedInputs(String radioId) {
        return new PathMethod("GET", "/system/radios/"+com.google.common.net.UrlEscapers.urlPathSegmentEscaper().escape(radioId)+"/inputs");
    }

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

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy