com.databricks.sdk.service.settings.GetRestrictWorkspaceAdminsSettingRequest 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.QueryParam;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.Objects;
/** Get the restrict workspace admins setting */
@Generated
public class GetRestrictWorkspaceAdminsSettingRequest {
/**
* 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.
*/
@JsonIgnore
@QueryParam("etag")
private String etag;
public GetRestrictWorkspaceAdminsSettingRequest 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;
GetRestrictWorkspaceAdminsSettingRequest that = (GetRestrictWorkspaceAdminsSettingRequest) o;
return Objects.equals(etag, that.etag);
}
@Override
public int hashCode() {
return Objects.hash(etag);
}
@Override
public String toString() {
return new ToStringer(GetRestrictWorkspaceAdminsSettingRequest.class)
.add("etag", etag)
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy