tech.amikos.chromadb.model.DeleteEmbedding Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chromadb-java-client Show documentation
Show all versions of chromadb-java-client Show documentation
Chroma Vector DB Java Client
The newest version!
/*
* FastAPI
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 0.1.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package tech.amikos.chromadb.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
/**
* DeleteEmbedding
*/
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2024-08-13T09:37:37.268Z[Etc/UTC]")
public class DeleteEmbedding {
@SerializedName("ids")
private List ids = null;
@SerializedName("where")
private Object where = null;
@SerializedName("where_document")
private Object whereDocument = null;
public DeleteEmbedding ids(List ids) {
this.ids = ids;
return this;
}
public DeleteEmbedding addIdsItem(String idsItem) {
if (this.ids == null) {
this.ids = new ArrayList();
}
this.ids.add(idsItem);
return this;
}
/**
* Get ids
* @return ids
**/
@Schema(description = "")
public List getIds() {
return ids;
}
public void setIds(List ids) {
this.ids = ids;
}
public DeleteEmbedding where(Object where) {
this.where = where;
return this;
}
/**
* Get where
* @return where
**/
@Schema(description = "")
public Object getWhere() {
return where;
}
public void setWhere(Object where) {
this.where = where;
}
public DeleteEmbedding whereDocument(Object whereDocument) {
this.whereDocument = whereDocument;
return this;
}
/**
* Get whereDocument
* @return whereDocument
**/
@Schema(description = "")
public Object getWhereDocument() {
return whereDocument;
}
public void setWhereDocument(Object whereDocument) {
this.whereDocument = whereDocument;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DeleteEmbedding deleteEmbedding = (DeleteEmbedding) o;
return Objects.equals(this.ids, deleteEmbedding.ids) &&
Objects.equals(this.where, deleteEmbedding.where) &&
Objects.equals(this.whereDocument, deleteEmbedding.whereDocument);
}
@Override
public int hashCode() {
return Objects.hash(ids, where, whereDocument);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DeleteEmbedding {\n");
sb.append(" ids: ").append(toIndentedString(ids)).append("\n");
sb.append(" where: ").append(toIndentedString(where)).append("\n");
sb.append(" whereDocument: ").append(toIndentedString(whereDocument)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}