com.clinia.model.registry.V1PipelineVectorizerProcessor Maven / Gradle / Ivy
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost
// - read more on https://github.com/clinia/api-clients-generation. DO NOT EDIT.
package com.clinia.model.registry;
import com.fasterxml.jackson.annotation.*;
import com.fasterxml.jackson.databind.annotation.*;
import java.util.Objects;
/** V1PipelineVectorizerProcessor */
@JsonDeserialize(as = V1PipelineVectorizerProcessor.class)
public class V1PipelineVectorizerProcessor implements V1PipelineProcessor {
@JsonProperty("vectorizer")
private V1PipelineVectorizerProcessorVectorizer vectorizer;
public V1PipelineVectorizerProcessor setVectorizer(V1PipelineVectorizerProcessorVectorizer vectorizer) {
this.vectorizer = vectorizer;
return this;
}
/** Get vectorizer */
@javax.annotation.Nonnull
public V1PipelineVectorizerProcessorVectorizer getVectorizer() {
return vectorizer;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
V1PipelineVectorizerProcessor v1PipelineVectorizerProcessor = (V1PipelineVectorizerProcessor) o;
return Objects.equals(this.vectorizer, v1PipelineVectorizerProcessor.vectorizer);
}
@Override
public int hashCode() {
return Objects.hash(vectorizer);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class V1PipelineVectorizerProcessor {\n");
sb.append(" vectorizer: ").append(toIndentedString(vectorizer)).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(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}