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

io.weaviate.client.v1.misc.model.Meta Maven / Gradle / Ivy

// Generated by delombok at Thu Dec 07 10:07:47 UTC 2023
package io.weaviate.client.v1.misc.model;

public class Meta {
  private String hostname;
  private String version;
  private Object modules;

  @java.lang.SuppressWarnings("all")
  public String getHostname() {
    return this.hostname;
  }

  @java.lang.SuppressWarnings("all")
  public String getVersion() {
    return this.version;
  }

  @java.lang.SuppressWarnings("all")
  public Object getModules() {
    return this.modules;
  }

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  public java.lang.String toString() {
    return "Meta(hostname=" + this.getHostname() + ", version=" + this.getVersion() + ", modules=" + this.getModules() + ")";
  }

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  public boolean equals(final java.lang.Object o) {
    if (o == this) return true;
    if (!(o instanceof Meta)) return false;
    final Meta other = (Meta) o;
    if (!other.canEqual((java.lang.Object) this)) return false;
    final java.lang.Object this$hostname = this.getHostname();
    final java.lang.Object other$hostname = other.getHostname();
    if (this$hostname == null ? other$hostname != null : !this$hostname.equals(other$hostname)) return false;
    final java.lang.Object this$version = this.getVersion();
    final java.lang.Object other$version = other.getVersion();
    if (this$version == null ? other$version != null : !this$version.equals(other$version)) return false;
    final java.lang.Object this$modules = this.getModules();
    final java.lang.Object other$modules = other.getModules();
    if (this$modules == null ? other$modules != null : !this$modules.equals(other$modules)) return false;
    return true;
  }

  @java.lang.SuppressWarnings("all")
  protected boolean canEqual(final java.lang.Object other) {
    return other instanceof Meta;
  }

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  public int hashCode() {
    final int PRIME = 59;
    int result = 1;
    final java.lang.Object $hostname = this.getHostname();
    result = result * PRIME + ($hostname == null ? 43 : $hostname.hashCode());
    final java.lang.Object $version = this.getVersion();
    result = result * PRIME + ($version == null ? 43 : $version.hashCode());
    final java.lang.Object $modules = this.getModules();
    result = result * PRIME + ($modules == null ? 43 : $modules.hashCode());
    return result;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy