com.databricks.sdk.service.catalog.GetCatalogRequest 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.QueryParam;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.Objects;
/** Get a catalog */
@Generated
public class GetCatalogRequest {
/**
* Whether to include catalogs in the response for which the principal can only access selective
* metadata for
*/
@JsonIgnore
@QueryParam("include_browse")
private Boolean includeBrowse;
/** The name of the catalog. */
@JsonIgnore private String name;
public GetCatalogRequest setIncludeBrowse(Boolean includeBrowse) {
this.includeBrowse = includeBrowse;
return this;
}
public Boolean getIncludeBrowse() {
return includeBrowse;
}
public GetCatalogRequest setName(String name) {
this.name = name;
return this;
}
public String getName() {
return name;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
GetCatalogRequest that = (GetCatalogRequest) o;
return Objects.equals(includeBrowse, that.includeBrowse) && Objects.equals(name, that.name);
}
@Override
public int hashCode() {
return Objects.hash(includeBrowse, name);
}
@Override
public String toString() {
return new ToStringer(GetCatalogRequest.class)
.add("includeBrowse", includeBrowse)
.add("name", name)
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy