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

io.weaviate.client.v1.contextionary.model.C11yWordsResponseIndividualWordsItems Maven / Gradle / Ivy

There is a newer version: 4.9.0
Show newest version
// Generated by delombok at Fri Nov 24 13:20:07 UTC 2023
package io.weaviate.client.v1.contextionary.model;

public class C11yWordsResponseIndividualWordsItems {
  private C11yWordsResponseIndividualWordsItems0Info info;
  private Boolean present;
  private String word;

  @java.lang.SuppressWarnings("all")
  public C11yWordsResponseIndividualWordsItems0Info getInfo() {
    return this.info;
  }

  @java.lang.SuppressWarnings("all")
  public Boolean getPresent() {
    return this.present;
  }

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

  @java.lang.SuppressWarnings("all")
  public C11yWordsResponseIndividualWordsItems(final C11yWordsResponseIndividualWordsItems0Info info, final Boolean present, final String word) {
    this.info = info;
    this.present = present;
    this.word = word;
  }

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  public java.lang.String toString() {
    return "C11yWordsResponseIndividualWordsItems(info=" + this.getInfo() + ", present=" + this.getPresent() + ", word=" + this.getWord() + ")";
  }

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  public boolean equals(final java.lang.Object o) {
    if (o == this) return true;
    if (!(o instanceof C11yWordsResponseIndividualWordsItems)) return false;
    final C11yWordsResponseIndividualWordsItems other = (C11yWordsResponseIndividualWordsItems) o;
    if (!other.canEqual((java.lang.Object) this)) return false;
    final java.lang.Object this$present = this.getPresent();
    final java.lang.Object other$present = other.getPresent();
    if (this$present == null ? other$present != null : !this$present.equals(other$present)) return false;
    final java.lang.Object this$info = this.getInfo();
    final java.lang.Object other$info = other.getInfo();
    if (this$info == null ? other$info != null : !this$info.equals(other$info)) return false;
    final java.lang.Object this$word = this.getWord();
    final java.lang.Object other$word = other.getWord();
    if (this$word == null ? other$word != null : !this$word.equals(other$word)) return false;
    return true;
  }

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

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  public int hashCode() {
    final int PRIME = 59;
    int result = 1;
    final java.lang.Object $present = this.getPresent();
    result = result * PRIME + ($present == null ? 43 : $present.hashCode());
    final java.lang.Object $info = this.getInfo();
    result = result * PRIME + ($info == null ? 43 : $info.hashCode());
    final java.lang.Object $word = this.getWord();
    result = result * PRIME + ($word == null ? 43 : $word.hashCode());
    return result;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy