com.databricks.sdk.service.ml.GetMetricHistoryResponse 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 GetMetricHistoryResponse {
/** All logged values for this metric. */
@JsonProperty("metrics")
private Collection metrics;
/** Token that can be used to retrieve the next page of metric history results */
@JsonProperty("next_page_token")
private String nextPageToken;
public GetMetricHistoryResponse setMetrics(Collection metrics) {
this.metrics = metrics;
return this;
}
public Collection getMetrics() {
return metrics;
}
public GetMetricHistoryResponse setNextPageToken(String nextPageToken) {
this.nextPageToken = nextPageToken;
return this;
}
public String getNextPageToken() {
return nextPageToken;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
GetMetricHistoryResponse that = (GetMetricHistoryResponse) o;
return Objects.equals(metrics, that.metrics)
&& Objects.equals(nextPageToken, that.nextPageToken);
}
@Override
public int hashCode() {
return Objects.hash(metrics, nextPageToken);
}
@Override
public String toString() {
return new ToStringer(GetMetricHistoryResponse.class)
.add("metrics", metrics)
.add("nextPageToken", nextPageToken)
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy