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

org.graylog2.contentpacks.model.$AutoValue_ContentPackUninstallDetails Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
package org.graylog2.contentpacks.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Set;
import javax.annotation.processing.Generated;
import org.graylog2.contentpacks.model.entities.NativeEntityDescriptor;

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

  private final Set entities;

  $AutoValue_ContentPackUninstallDetails(
      Set entities) {
    if (entities == null) {
      throw new NullPointerException("Null entities");
    }
    this.entities = entities;
  }

  @JsonProperty("entities")
  @Override
  public Set entities() {
    return entities;
  }

  @Override
  public String toString() {
    return "ContentPackUninstallDetails{"
        + "entities=" + entities
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof ContentPackUninstallDetails) {
      ContentPackUninstallDetails that = (ContentPackUninstallDetails) o;
      return this.entities.equals(that.entities());
    }
    return false;
  }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy