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

org.graylog2.lookup.adapters.AutoValue_HTTPJSONPathDataAdapter_Config Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
package org.graylog2.lookup.adapters;

import com.fasterxml.jackson.annotation.JsonIgnore;
import jakarta.validation.constraints.NotEmpty;
import java.lang.String;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;

final class AutoValue_HTTPJSONPathDataAdapter_Config extends $AutoValue_HTTPJSONPathDataAdapter_Config {
  AutoValue_HTTPJSONPathDataAdapter_Config(String type, String url, String singleValueJSONPath,
      Optional multiValueJSONPath, String userAgent, Map headers) {
    super(type, url, singleValueJSONPath, multiValueJSONPath, userAgent, headers);
  }

  @JsonIgnore
  public final String getType() {
    return type();
  }

  @JsonIgnore
  @NotEmpty
  public final String getUrl() {
    return url();
  }

  @JsonIgnore
  @NotEmpty
  public final String getSingleValueJSONPath() {
    return singleValueJSONPath();
  }

  @JsonIgnore
  public final Optional getMultiValueJSONPath() {
    return multiValueJSONPath();
  }

  @JsonIgnore
  @NotEmpty
  public final String getUserAgent() {
    return userAgent();
  }

  @JsonIgnore
  @Nullable
  public final Map getHeaders() {
    return headers();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy