com.databricks.sdk.service.settings.DeleteRestrictWorkspaceAdminsSettingResponse Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.settings;
import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
/** The etag is returned. */
@Generated
public class DeleteRestrictWorkspaceAdminsSettingResponse {
/**
* etag used for versioning. The response is at least as fresh as the eTag provided. This is used
* for optimistic concurrency control as a way to help prevent simultaneous writes of a setting
* overwriting each other. It is strongly suggested that systems make use of the etag in the read
* -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get
* an etag from a GET request, and pass it with the DELETE request to identify the rule set
* version you are deleting.
*/
@JsonProperty("etag")
private String etag;
public DeleteRestrictWorkspaceAdminsSettingResponse setEtag(String etag) {
this.etag = etag;
return this;
}
public String getEtag() {
return etag;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
DeleteRestrictWorkspaceAdminsSettingResponse that =
(DeleteRestrictWorkspaceAdminsSettingResponse) o;
return Objects.equals(etag, that.etag);
}
@Override
public int hashCode() {
return Objects.hash(etag);
}
@Override
public String toString() {
return new ToStringer(DeleteRestrictWorkspaceAdminsSettingResponse.class)
.add("etag", etag)
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy