io.weaviate.client.v1.classifications.model.ClassificationMeta 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 Thu Dec 07 10:07:47 UTC 2023
package io.weaviate.client.v1.classifications.model;
import java.util.Date;
public class ClassificationMeta {
private Date completed;
private Long count;
private Long countFailed;
private Long countSucceeded;
private Date started;
@java.lang.SuppressWarnings("all")
ClassificationMeta(final Date completed, final Long count, final Long countFailed, final Long countSucceeded, final Date started) {
this.completed = completed;
this.count = count;
this.countFailed = countFailed;
this.countSucceeded = countSucceeded;
this.started = started;
}
@java.lang.SuppressWarnings("all")
public static class ClassificationMetaBuilder {
@java.lang.SuppressWarnings("all")
private Date completed;
@java.lang.SuppressWarnings("all")
private Long count;
@java.lang.SuppressWarnings("all")
private Long countFailed;
@java.lang.SuppressWarnings("all")
private Long countSucceeded;
@java.lang.SuppressWarnings("all")
private Date started;
@java.lang.SuppressWarnings("all")
ClassificationMetaBuilder() {
}
/**
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public ClassificationMeta.ClassificationMetaBuilder completed(final Date completed) {
this.completed = completed;
return this;
}
/**
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public ClassificationMeta.ClassificationMetaBuilder count(final Long count) {
this.count = count;
return this;
}
/**
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public ClassificationMeta.ClassificationMetaBuilder countFailed(final Long countFailed) {
this.countFailed = countFailed;
return this;
}
/**
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public ClassificationMeta.ClassificationMetaBuilder countSucceeded(final Long countSucceeded) {
this.countSucceeded = countSucceeded;
return this;
}
/**
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public ClassificationMeta.ClassificationMetaBuilder started(final Date started) {
this.started = started;
return this;
}
@java.lang.SuppressWarnings("all")
public ClassificationMeta build() {
return new ClassificationMeta(this.completed, this.count, this.countFailed, this.countSucceeded, this.started);
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "ClassificationMeta.ClassificationMetaBuilder(completed=" + this.completed + ", count=" + this.count + ", countFailed=" + this.countFailed + ", countSucceeded=" + this.countSucceeded + ", started=" + this.started + ")";
}
}
@java.lang.SuppressWarnings("all")
public static ClassificationMeta.ClassificationMetaBuilder builder() {
return new ClassificationMeta.ClassificationMetaBuilder();
}
@java.lang.SuppressWarnings("all")
public Date getCompleted() {
return this.completed;
}
@java.lang.SuppressWarnings("all")
public Long getCount() {
return this.count;
}
@java.lang.SuppressWarnings("all")
public Long getCountFailed() {
return this.countFailed;
}
@java.lang.SuppressWarnings("all")
public Long getCountSucceeded() {
return this.countSucceeded;
}
@java.lang.SuppressWarnings("all")
public Date getStarted() {
return this.started;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "ClassificationMeta(completed=" + this.getCompleted() + ", count=" + this.getCount() + ", countFailed=" + this.getCountFailed() + ", countSucceeded=" + this.getCountSucceeded() + ", started=" + this.getStarted() + ")";
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof ClassificationMeta)) return false;
final ClassificationMeta other = (ClassificationMeta) o;
if (!other.canEqual((java.lang.Object) this)) return false;
final java.lang.Object this$count = this.getCount();
final java.lang.Object other$count = other.getCount();
if (this$count == null ? other$count != null : !this$count.equals(other$count)) return false;
final java.lang.Object this$countFailed = this.getCountFailed();
final java.lang.Object other$countFailed = other.getCountFailed();
if (this$countFailed == null ? other$countFailed != null : !this$countFailed.equals(other$countFailed)) return false;
final java.lang.Object this$countSucceeded = this.getCountSucceeded();
final java.lang.Object other$countSucceeded = other.getCountSucceeded();
if (this$countSucceeded == null ? other$countSucceeded != null : !this$countSucceeded.equals(other$countSucceeded)) return false;
final java.lang.Object this$completed = this.getCompleted();
final java.lang.Object other$completed = other.getCompleted();
if (this$completed == null ? other$completed != null : !this$completed.equals(other$completed)) return false;
final java.lang.Object this$started = this.getStarted();
final java.lang.Object other$started = other.getStarted();
if (this$started == null ? other$started != null : !this$started.equals(other$started)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof ClassificationMeta;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $count = this.getCount();
result = result * PRIME + ($count == null ? 43 : $count.hashCode());
final java.lang.Object $countFailed = this.getCountFailed();
result = result * PRIME + ($countFailed == null ? 43 : $countFailed.hashCode());
final java.lang.Object $countSucceeded = this.getCountSucceeded();
result = result * PRIME + ($countSucceeded == null ? 43 : $countSucceeded.hashCode());
final java.lang.Object $completed = this.getCompleted();
result = result * PRIME + ($completed == null ? 43 : $completed.hashCode());
final java.lang.Object $started = this.getStarted();
result = result * PRIME + ($started == null ? 43 : $started.hashCode());
return result;
}
}