com.databricks.sdk.service.iam.WorkspacePermissions 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.JsonProperty;
import java.util.Collection;
import java.util.Objects;
@Generated
public class WorkspacePermissions {
/** Array of permissions defined for a workspace. */
@JsonProperty("permissions")
private Collection permissions;
public WorkspacePermissions setPermissions(Collection permissions) {
this.permissions = permissions;
return this;
}
public Collection getPermissions() {
return permissions;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
WorkspacePermissions that = (WorkspacePermissions) o;
return Objects.equals(permissions, that.permissions);
}
@Override
public int hashCode() {
return Objects.hash(permissions);
}
@Override
public String toString() {
return new ToStringer(WorkspacePermissions.class).add("permissions", permissions).toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy