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

technology.semi.weaviate.client.v1.classifications.model.ClassificationMeta Maven / Gradle / Ivy

There is a newer version: 4.0.0
Show newest version
// Generated by delombok at Mon Nov 21 14:07:44 UTC 2022
package technology.semi.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() {
    }

    @java.lang.SuppressWarnings("all")
    public ClassificationMeta.ClassificationMetaBuilder completed(final Date completed) {
      this.completed = completed;
      return this;
    }

    @java.lang.SuppressWarnings("all")
    public ClassificationMeta.ClassificationMetaBuilder count(final Long count) {
      this.count = count;
      return this;
    }

    @java.lang.SuppressWarnings("all")
    public ClassificationMeta.ClassificationMetaBuilder countFailed(final Long countFailed) {
      this.countFailed = countFailed;
      return this;
    }

    @java.lang.SuppressWarnings("all")
    public ClassificationMeta.ClassificationMetaBuilder countSucceeded(final Long countSucceeded) {
      this.countSucceeded = countSucceeded;
      return 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() + ")";
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy