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