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

com.databricks.sdk.service.oauth2.ListCustomAppIntegrationsRequest Maven / Gradle / Ivy

There is a newer version: 0.35.0
Show newest version
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.

package com.databricks.sdk.service.oauth2;

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 custom oauth app integrations */
@Generated
public class ListCustomAppIntegrationsRequest {
  /** */
  @JsonIgnore
  @QueryParam("include_creator_username")
  private Boolean includeCreatorUsername;

  /** */
  @JsonIgnore
  @QueryParam("page_size")
  private Long pageSize;

  /** */
  @JsonIgnore
  @QueryParam("page_token")
  private String pageToken;

  public ListCustomAppIntegrationsRequest setIncludeCreatorUsername(
      Boolean includeCreatorUsername) {
    this.includeCreatorUsername = includeCreatorUsername;
    return this;
  }

  public Boolean getIncludeCreatorUsername() {
    return includeCreatorUsername;
  }

  public ListCustomAppIntegrationsRequest setPageSize(Long pageSize) {
    this.pageSize = pageSize;
    return this;
  }

  public Long getPageSize() {
    return pageSize;
  }

  public ListCustomAppIntegrationsRequest setPageToken(String pageToken) {
    this.pageToken = pageToken;
    return this;
  }

  public String getPageToken() {
    return pageToken;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    ListCustomAppIntegrationsRequest that = (ListCustomAppIntegrationsRequest) o;
    return Objects.equals(includeCreatorUsername, that.includeCreatorUsername)
        && Objects.equals(pageSize, that.pageSize)
        && Objects.equals(pageToken, that.pageToken);
  }

  @Override
  public int hashCode() {
    return Objects.hash(includeCreatorUsername, pageSize, pageToken);
  }

  @Override
  public String toString() {
    return new ToStringer(ListCustomAppIntegrationsRequest.class)
        .add("includeCreatorUsername", includeCreatorUsername)
        .add("pageSize", pageSize)
        .add("pageToken", pageToken)
        .toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy