com.clinia.model.registry.V1PipelineVectorizerProcessorVectorizer 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;
/** V1PipelineVectorizerProcessorVectorizer */
public class V1PipelineVectorizerProcessorVectorizer {
@JsonProperty("inputProperty")
private String inputProperty;
@JsonProperty("modelID")
private String modelID;
public V1PipelineVectorizerProcessorVectorizer setInputProperty(String inputProperty) {
this.inputProperty = inputProperty;
return this;
}
/** The input property path to vectorize. */
@javax.annotation.Nonnull
public String getInputProperty() {
return inputProperty;
}
public V1PipelineVectorizerProcessorVectorizer setModelID(String modelID) {
this.modelID = modelID;
return this;
}
/** The model to use for vectorization available in the model hub of the deployment. */
@javax.annotation.Nonnull
public String getModelID() {
return modelID;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
V1PipelineVectorizerProcessorVectorizer v1PipelineVectorizerProcessorVectorizer = (V1PipelineVectorizerProcessorVectorizer) o;
return (
Objects.equals(this.inputProperty, v1PipelineVectorizerProcessorVectorizer.inputProperty) &&
Objects.equals(this.modelID, v1PipelineVectorizerProcessorVectorizer.modelID)
);
}
@Override
public int hashCode() {
return Objects.hash(inputProperty, modelID);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class V1PipelineVectorizerProcessorVectorizer {\n");
sb.append(" inputProperty: ").append(toIndentedString(inputProperty)).append("\n");
sb.append(" modelID: ").append(toIndentedString(modelID)).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 ");
}
}