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

io.weaviate.client.v1.backup.model.BackupCreateStatusResponse Maven / Gradle / Ivy

There is a newer version: 4.9.0
Show newest version
// Generated by delombok at Mon Jan 08 10:19:26 UTC 2024
package io.weaviate.client.v1.backup.model;

public class BackupCreateStatusResponse {
  private String id;
  private String path;
  private String backend;
  private String status;
  private String error;

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

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

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

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

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

  @java.lang.SuppressWarnings("all")
  public void setId(final String id) {
    this.id = id;
  }

  @java.lang.SuppressWarnings("all")
  public void setPath(final String path) {
    this.path = path;
  }

  @java.lang.SuppressWarnings("all")
  public void setBackend(final String backend) {
    this.backend = backend;
  }

  @java.lang.SuppressWarnings("all")
  public void setStatus(final String status) {
    this.status = status;
  }

  @java.lang.SuppressWarnings("all")
  public void setError(final String error) {
    this.error = error;
  }

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  public java.lang.String toString() {
    return "BackupCreateStatusResponse(id=" + this.getId() + ", path=" + this.getPath() + ", backend=" + this.getBackend() + ", status=" + this.getStatus() + ", error=" + this.getError() + ")";
  }

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  public boolean equals(final java.lang.Object o) {
    if (o == this) return true;
    if (!(o instanceof BackupCreateStatusResponse)) return false;
    final BackupCreateStatusResponse other = (BackupCreateStatusResponse) o;
    if (!other.canEqual((java.lang.Object) this)) return false;
    final java.lang.Object this$id = this.getId();
    final java.lang.Object other$id = other.getId();
    if (this$id == null ? other$id != null : !this$id.equals(other$id)) return false;
    final java.lang.Object this$path = this.getPath();
    final java.lang.Object other$path = other.getPath();
    if (this$path == null ? other$path != null : !this$path.equals(other$path)) return false;
    final java.lang.Object this$backend = this.getBackend();
    final java.lang.Object other$backend = other.getBackend();
    if (this$backend == null ? other$backend != null : !this$backend.equals(other$backend)) return false;
    final java.lang.Object this$status = this.getStatus();
    final java.lang.Object other$status = other.getStatus();
    if (this$status == null ? other$status != null : !this$status.equals(other$status)) return false;
    final java.lang.Object this$error = this.getError();
    final java.lang.Object other$error = other.getError();
    if (this$error == null ? other$error != null : !this$error.equals(other$error)) return false;
    return true;
  }

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

  @java.lang.Override
  @java.lang.SuppressWarnings("all")
  public int hashCode() {
    final int PRIME = 59;
    int result = 1;
    final java.lang.Object $id = this.getId();
    result = result * PRIME + ($id == null ? 43 : $id.hashCode());
    final java.lang.Object $path = this.getPath();
    result = result * PRIME + ($path == null ? 43 : $path.hashCode());
    final java.lang.Object $backend = this.getBackend();
    result = result * PRIME + ($backend == null ? 43 : $backend.hashCode());
    final java.lang.Object $status = this.getStatus();
    result = result * PRIME + ($status == null ? 43 : $status.hashCode());
    final java.lang.Object $error = this.getError();
    result = result * PRIME + ($error == null ? 43 : $error.hashCode());
    return result;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy