All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.databricks.sdk.service.iam.ListUsersRequest Maven / Gradle / Ivy

There is a newer version: 0.38.0
Show newest version
// 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.QueryParam;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.Objects;

/** List users */
@Generated
public class ListUsersRequest {
  /** Comma-separated list of attributes to return in response. */
  @JsonIgnore
  @QueryParam("attributes")
  private String attributes;

  /** Desired number of results per page. */
  @JsonIgnore
  @QueryParam("count")
  private Long count;

  /** Comma-separated list of attributes to exclude in response. */
  @JsonIgnore
  @QueryParam("excludedAttributes")
  private String excludedAttributes;

  /**
   * Query by which the results have to be filtered. Supported operators are equals(`eq`),
   * contains(`co`), starts with(`sw`) and not equals(`ne`). Additionally, simple expressions can be
   * formed using logical operators - `and` and `or`. The [SCIM RFC] has more details but we
   * currently only support simple expressions.
   *
   * 

[SCIM RFC]: https://tools.ietf.org/html/rfc7644#section-3.4.2.2 */ @JsonIgnore @QueryParam("filter") private String filter; /** * Attribute to sort the results. Multi-part paths are supported. For example, `userName`, * `name.givenName`, and `emails`. */ @JsonIgnore @QueryParam("sortBy") private String sortBy; /** The order to sort the results. */ @JsonIgnore @QueryParam("sortOrder") private ListSortOrder sortOrder; /** Specifies the index of the first result. First item is number 1. */ @JsonIgnore @QueryParam("startIndex") private Long startIndex; public ListUsersRequest setAttributes(String attributes) { this.attributes = attributes; return this; } public String getAttributes() { return attributes; } public ListUsersRequest setCount(Long count) { this.count = count; return this; } public Long getCount() { return count; } public ListUsersRequest setExcludedAttributes(String excludedAttributes) { this.excludedAttributes = excludedAttributes; return this; } public String getExcludedAttributes() { return excludedAttributes; } public ListUsersRequest setFilter(String filter) { this.filter = filter; return this; } public String getFilter() { return filter; } public ListUsersRequest setSortBy(String sortBy) { this.sortBy = sortBy; return this; } public String getSortBy() { return sortBy; } public ListUsersRequest setSortOrder(ListSortOrder sortOrder) { this.sortOrder = sortOrder; return this; } public ListSortOrder getSortOrder() { return sortOrder; } public ListUsersRequest setStartIndex(Long startIndex) { this.startIndex = startIndex; return this; } public Long getStartIndex() { return startIndex; } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; ListUsersRequest that = (ListUsersRequest) o; return Objects.equals(attributes, that.attributes) && Objects.equals(count, that.count) && Objects.equals(excludedAttributes, that.excludedAttributes) && Objects.equals(filter, that.filter) && Objects.equals(sortBy, that.sortBy) && Objects.equals(sortOrder, that.sortOrder) && Objects.equals(startIndex, that.startIndex); } @Override public int hashCode() { return Objects.hash( attributes, count, excludedAttributes, filter, sortBy, sortOrder, startIndex); } @Override public String toString() { return new ToStringer(ListUsersRequest.class) .add("attributes", attributes) .add("count", count) .add("excludedAttributes", excludedAttributes) .add("filter", filter) .add("sortBy", sortBy) .add("sortOrder", sortOrder) .add("startIndex", startIndex) .toString(); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy