com.databricks.sdk.service.catalog.CurrentWorkspaceBindings Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.catalog;
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;
/** Currently assigned workspaces */
@Generated
public class CurrentWorkspaceBindings {
/** A list of workspace IDs. */
@JsonProperty("workspaces")
private Collection workspaces;
public CurrentWorkspaceBindings setWorkspaces(Collection workspaces) {
this.workspaces = workspaces;
return this;
}
public Collection getWorkspaces() {
return workspaces;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
CurrentWorkspaceBindings that = (CurrentWorkspaceBindings) o;
return Objects.equals(workspaces, that.workspaces);
}
@Override
public int hashCode() {
return Objects.hash(workspaces);
}
@Override
public String toString() {
return new ToStringer(CurrentWorkspaceBindings.class).add("workspaces", workspaces).toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy