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

org.graylog2.telemetry.dto.PluginInfo Maven / Gradle / Ivy

package org.graylog2.telemetry.dto;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.auto.value.AutoValue;

@JsonAutoDetect
@AutoValue
public abstract class PluginInfo {
    @JsonProperty
    public abstract String id();

    @JsonProperty
    public abstract String name();

    @JsonProperty
    public abstract String version();

    public static PluginInfo create(String id, String name, String version) {
        return new AutoValue_PluginInfo(id, name, version);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy