com.databricks.sdk.service.ml.RunData Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.ml;
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 RunData {
/** Run metrics. */
@JsonProperty("metrics")
private Collection metrics;
/** Run parameters. */
@JsonProperty("params")
private Collection params;
/** Additional metadata key-value pairs. */
@JsonProperty("tags")
private Collection tags;
public RunData setMetrics(Collection metrics) {
this.metrics = metrics;
return this;
}
public Collection getMetrics() {
return metrics;
}
public RunData setParams(Collection params) {
this.params = params;
return this;
}
public Collection getParams() {
return params;
}
public RunData setTags(Collection tags) {
this.tags = tags;
return this;
}
public Collection getTags() {
return tags;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
RunData that = (RunData) o;
return Objects.equals(metrics, that.metrics)
&& Objects.equals(params, that.params)
&& Objects.equals(tags, that.tags);
}
@Override
public int hashCode() {
return Objects.hash(metrics, params, tags);
}
@Override
public String toString() {
return new ToStringer(RunData.class)
.add("metrics", metrics)
.add("params", params)
.add("tags", tags)
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy