com.databricks.sdk.service.ml.TestRegistryWebhook 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.Objects;
/** Test webhook response object. */
@Generated
public class TestRegistryWebhook {
/** Body of the response from the webhook URL */
@JsonProperty("body")
private String body;
/** Status code returned by the webhook URL */
@JsonProperty("status_code")
private Long statusCode;
public TestRegistryWebhook setBody(String body) {
this.body = body;
return this;
}
public String getBody() {
return body;
}
public TestRegistryWebhook setStatusCode(Long statusCode) {
this.statusCode = statusCode;
return this;
}
public Long getStatusCode() {
return statusCode;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
TestRegistryWebhook that = (TestRegistryWebhook) o;
return Objects.equals(body, that.body) && Objects.equals(statusCode, that.statusCode);
}
@Override
public int hashCode() {
return Objects.hash(body, statusCode);
}
@Override
public String toString() {
return new ToStringer(TestRegistryWebhook.class)
.add("body", body)
.add("statusCode", statusCode)
.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy