com.databricks.sdk.service.serving.PayloadTable 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.Objects;
@Generated
public class PayloadTable {
/** The name of the payload table. */
@JsonProperty("name")
private String name;
/** The status of the payload table. */
@JsonProperty("status")
private String status;
/** The status message of the payload table. */
@JsonProperty("status_message")
private String statusMessage;
public PayloadTable setName(String name) {
this.name = name;
return this;
}
public String getName() {
return name;
}
public PayloadTable setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return status;
}
public PayloadTable setStatusMessage(String statusMessage) {
this.statusMessage = statusMessage;
return this;
}
public String getStatusMessage() {
return statusMessage;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
PayloadTable that = (PayloadTable) o;
return Objects.equals(name, that.name)
&& Objects.equals(status, that.status)
&& Objects.equals(statusMessage, that.statusMessage);
}
@Override
public int hashCode() {
return Objects.hash(name, status, statusMessage);
}
@Override
public String toString() {
return new ToStringer(PayloadTable.class)
.add("name", name)
.add("status", status)
.add("statusMessage", statusMessage)
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy