com.databricks.sdk.service.iam.PartialUpdate Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.iam;
import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Collection;
import java.util.Objects;
@Generated
public class PartialUpdate {
/** Unique ID for a user in the Databricks workspace. */
@JsonIgnore private String id;
/** */
@JsonProperty("Operations")
private Collection operations;
/** The schema of the patch request. Must be ["urn:ietf:params:scim:api:messages:2.0:PatchOp"]. */
@JsonProperty("schemas")
private Collection schemas;
public PartialUpdate setId(String id) {
this.id = id;
return this;
}
public String getId() {
return id;
}
public PartialUpdate setOperations(Collection operations) {
this.operations = operations;
return this;
}
public Collection getOperations() {
return operations;
}
public PartialUpdate setSchemas(Collection schemas) {
this.schemas = schemas;
return this;
}
public Collection getSchemas() {
return schemas;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
PartialUpdate that = (PartialUpdate) o;
return Objects.equals(id, that.id)
&& Objects.equals(operations, that.operations)
&& Objects.equals(schemas, that.schemas);
}
@Override
public int hashCode() {
return Objects.hash(id, operations, schemas);
}
@Override
public String toString() {
return new ToStringer(PartialUpdate.class)
.add("id", id)
.add("operations", operations)
.add("schemas", schemas)
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy