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

com.databricks.sdk.service.vectorsearch.DeleteDataVectorIndexResponse Maven / Gradle / Ivy

There is a newer version: 0.38.0
Show newest version
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.

package com.databricks.sdk.service.vectorsearch;

import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;

/** Response to a delete data vector index request. */
@Generated
public class DeleteDataVectorIndexResponse {
  /** Result of the upsert or delete operation. */
  @JsonProperty("result")
  private DeleteDataResult result;

  /** Status of the delete operation. */
  @JsonProperty("status")
  private DeleteDataStatus status;

  public DeleteDataVectorIndexResponse setResult(DeleteDataResult result) {
    this.result = result;
    return this;
  }

  public DeleteDataResult getResult() {
    return result;
  }

  public DeleteDataVectorIndexResponse setStatus(DeleteDataStatus status) {
    this.status = status;
    return this;
  }

  public DeleteDataStatus getStatus() {
    return status;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    DeleteDataVectorIndexResponse that = (DeleteDataVectorIndexResponse) o;
    return Objects.equals(result, that.result) && Objects.equals(status, that.status);
  }

  @Override
  public int hashCode() {
    return Objects.hash(result, status);
  }

  @Override
  public String toString() {
    return new ToStringer(DeleteDataVectorIndexResponse.class)
        .add("result", result)
        .add("status", status)
        .toString();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy