com.databricks.sdk.service.serving.EndpointCoreConfigSummary Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.serving;
import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Collection;
import java.util.Objects;
@Generated
public class EndpointCoreConfigSummary {
/** The list of served entities under the serving endpoint config. */
@JsonProperty("served_entities")
private Collection servedEntities;
/**
* (Deprecated, use served_entities instead) The list of served models under the serving endpoint
* config.
*/
@JsonProperty("served_models")
private Collection servedModels;
public EndpointCoreConfigSummary setServedEntities(Collection servedEntities) {
this.servedEntities = servedEntities;
return this;
}
public Collection getServedEntities() {
return servedEntities;
}
public EndpointCoreConfigSummary setServedModels(Collection servedModels) {
this.servedModels = servedModels;
return this;
}
public Collection getServedModels() {
return servedModels;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
EndpointCoreConfigSummary that = (EndpointCoreConfigSummary) o;
return Objects.equals(servedEntities, that.servedEntities)
&& Objects.equals(servedModels, that.servedModels);
}
@Override
public int hashCode() {
return Objects.hash(servedEntities, servedModels);
}
@Override
public String toString() {
return new ToStringer(EndpointCoreConfigSummary.class)
.add("servedEntities", servedEntities)
.add("servedModels", servedModels)
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy