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

org.graylog2.web.$AutoValue_ModuleFiles Maven / Gradle / Ivy

There is a newer version: 6.0.6
Show newest version
package org.graylog2.web;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import javax.annotation.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
abstract class $AutoValue_ModuleFiles extends ModuleFiles {

  private final List jsFiles;

  private final List cssFiles;

  $AutoValue_ModuleFiles(
      List jsFiles,
      List cssFiles) {
    if (jsFiles == null) {
      throw new NullPointerException("Null jsFiles");
    }
    this.jsFiles = jsFiles;
    if (cssFiles == null) {
      throw new NullPointerException("Null cssFiles");
    }
    this.cssFiles = cssFiles;
  }

  @JsonProperty("js")
  @Override
  public List jsFiles() {
    return jsFiles;
  }

  @JsonProperty("css")
  @Override
  public List cssFiles() {
    return cssFiles;
  }

  @Override
  public String toString() {
    return "ModuleFiles{"
        + "jsFiles=" + jsFiles + ", "
        + "cssFiles=" + cssFiles
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof ModuleFiles) {
      ModuleFiles that = (ModuleFiles) o;
      return this.jsFiles.equals(that.jsFiles())
          && this.cssFiles.equals(that.cssFiles());
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h$ = 1;
    h$ *= 1000003;
    h$ ^= jsFiles.hashCode();
    h$ *= 1000003;
    h$ ^= cssFiles.hashCode();
    return h$;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy