com.databricks.sdk.service.iam.ListGroupsResponse 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 ListGroupsResponse {
/** Total results returned in the response. */
@JsonProperty("itemsPerPage")
private Long itemsPerPage;
/** User objects returned in the response. */
@JsonProperty("Resources")
private Collection resources;
/** The schema of the service principal. */
@JsonProperty("schemas")
private Collection schemas;
/** Starting index of all the results that matched the request filters. First item is number 1. */
@JsonProperty("startIndex")
private Long startIndex;
/** Total results that match the request filters. */
@JsonProperty("totalResults")
private Long totalResults;
public ListGroupsResponse setItemsPerPage(Long itemsPerPage) {
this.itemsPerPage = itemsPerPage;
return this;
}
public Long getItemsPerPage() {
return itemsPerPage;
}
public ListGroupsResponse setResources(Collection resources) {
this.resources = resources;
return this;
}
public Collection getResources() {
return resources;
}
public ListGroupsResponse setSchemas(Collection schemas) {
this.schemas = schemas;
return this;
}
public Collection getSchemas() {
return schemas;
}
public ListGroupsResponse setStartIndex(Long startIndex) {
this.startIndex = startIndex;
return this;
}
public Long getStartIndex() {
return startIndex;
}
public ListGroupsResponse setTotalResults(Long totalResults) {
this.totalResults = totalResults;
return this;
}
public Long getTotalResults() {
return totalResults;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
ListGroupsResponse that = (ListGroupsResponse) o;
return Objects.equals(itemsPerPage, that.itemsPerPage)
&& Objects.equals(resources, that.resources)
&& Objects.equals(schemas, that.schemas)
&& Objects.equals(startIndex, that.startIndex)
&& Objects.equals(totalResults, that.totalResults);
}
@Override
public int hashCode() {
return Objects.hash(itemsPerPage, resources, schemas, startIndex, totalResults);
}
@Override
public String toString() {
return new ToStringer(ListGroupsResponse.class)
.add("itemsPerPage", itemsPerPage)
.add("resources", resources)
.add("schemas", schemas)
.add("startIndex", startIndex)
.add("totalResults", totalResults)
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy