com.databricks.sdk.service.provisioning.GetWorkspaceRequest Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.provisioning;
import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.Objects;
/** Get a workspace */
@Generated
public class GetWorkspaceRequest {
/** Workspace ID. */
@JsonIgnore private Long workspaceId;
public GetWorkspaceRequest setWorkspaceId(Long workspaceId) {
this.workspaceId = workspaceId;
return this;
}
public Long getWorkspaceId() {
return workspaceId;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
GetWorkspaceRequest that = (GetWorkspaceRequest) o;
return Objects.equals(workspaceId, that.workspaceId);
}
@Override
public int hashCode() {
return Objects.hash(workspaceId);
}
@Override
public String toString() {
return new ToStringer(GetWorkspaceRequest.class).add("workspaceId", workspaceId).toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy