io.weaviate.client.v1.contextionary.model.C11yWordsResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client Show documentation
Show all versions of client Show documentation
A java client for Weaviate Vector Search Engine
// Generated by delombok at Tue Aug 22 16:14:12 UTC 2023
package io.weaviate.client.v1.contextionary.model;
public class C11yWordsResponse {
private C11yWordsResponseConcatenatedWord concatenatedWord;
private C11yWordsResponseIndividualWordsItems[] individualWords;
@java.lang.SuppressWarnings("all")
public C11yWordsResponseConcatenatedWord getConcatenatedWord() {
return this.concatenatedWord;
}
@java.lang.SuppressWarnings("all")
public C11yWordsResponseIndividualWordsItems[] getIndividualWords() {
return this.individualWords;
}
@java.lang.SuppressWarnings("all")
public C11yWordsResponse(final C11yWordsResponseConcatenatedWord concatenatedWord, final C11yWordsResponseIndividualWordsItems[] individualWords) {
this.concatenatedWord = concatenatedWord;
this.individualWords = individualWords;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "C11yWordsResponse(concatenatedWord=" + this.getConcatenatedWord() + ", individualWords=" + java.util.Arrays.deepToString(this.getIndividualWords()) + ")";
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof C11yWordsResponse)) return false;
final C11yWordsResponse other = (C11yWordsResponse) o;
if (!other.canEqual((java.lang.Object) this)) return false;
final java.lang.Object this$concatenatedWord = this.getConcatenatedWord();
final java.lang.Object other$concatenatedWord = other.getConcatenatedWord();
if (this$concatenatedWord == null ? other$concatenatedWord != null : !this$concatenatedWord.equals(other$concatenatedWord)) return false;
if (!java.util.Arrays.deepEquals(this.getIndividualWords(), other.getIndividualWords())) return false;
return true;
}
@java.lang.SuppressWarnings("all")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof C11yWordsResponse;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $concatenatedWord = this.getConcatenatedWord();
result = result * PRIME + ($concatenatedWord == null ? 43 : $concatenatedWord.hashCode());
result = result * PRIME + java.util.Arrays.deepHashCode(this.getIndividualWords());
return result;
}
}