![JAR search and dependency download from the Maven repository](/logo.png)
tech.amikos.chromadb.model.UpdateCollection Maven / Gradle / Ivy
/*
* 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;
/**
* UpdateCollection
*/
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2024-08-13T09:37:37.268Z[Etc/UTC]")
public class UpdateCollection {
@SerializedName("new_name")
private String newName = null;
@SerializedName("new_metadata")
private Object newMetadata = null;
public UpdateCollection newName(String newName) {
this.newName = newName;
return this;
}
/**
* Get newName
* @return newName
**/
@Schema(description = "")
public String getNewName() {
return newName;
}
public void setNewName(String newName) {
this.newName = newName;
}
public UpdateCollection newMetadata(Object newMetadata) {
this.newMetadata = newMetadata;
return this;
}
/**
* Get newMetadata
* @return newMetadata
**/
@Schema(description = "")
public Object getNewMetadata() {
return newMetadata;
}
public void setNewMetadata(Object newMetadata) {
this.newMetadata = newMetadata;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
UpdateCollection updateCollection = (UpdateCollection) o;
return Objects.equals(this.newName, updateCollection.newName) &&
Objects.equals(this.newMetadata, updateCollection.newMetadata);
}
@Override
public int hashCode() {
return Objects.hash(newName, newMetadata);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UpdateCollection {\n");
sb.append(" newName: ").append(toIndentedString(newName)).append("\n");
sb.append(" newMetadata: ").append(toIndentedString(newMetadata)).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 ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy