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

com.databricks.sdk.service.oauth2.GetCustomAppIntegrationOutput 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.ToStringer;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Collection;
import java.util.Objects;

@Generated
public class GetCustomAppIntegrationOutput {
  /** The client id of the custom OAuth app */
  @JsonProperty("client_id")
  private String clientId;

  /**
   * This field indicates whether an OAuth client secret is required to authenticate this client.
   */
  @JsonProperty("confidential")
  private Boolean confidential;

  /** */
  @JsonProperty("create_time")
  private String createTime;

  /** */
  @JsonProperty("created_by")
  private Long createdBy;

  /** */
  @JsonProperty("creator_username")
  private String creatorUsername;

  /** ID of this custom app */
  @JsonProperty("integration_id")
  private String integrationId;

  /** The display name of the custom OAuth app */
  @JsonProperty("name")
  private String name;

  /** List of OAuth redirect urls */
  @JsonProperty("redirect_urls")
  private Collection redirectUrls;

  /** */
  @JsonProperty("scopes")
  private Collection scopes;

  /** Token access policy */
  @JsonProperty("token_access_policy")
  private TokenAccessPolicy tokenAccessPolicy;

  public GetCustomAppIntegrationOutput setClientId(String clientId) {
    this.clientId = clientId;
    return this;
  }

  public String getClientId() {
    return clientId;
  }

  public GetCustomAppIntegrationOutput setConfidential(Boolean confidential) {
    this.confidential = confidential;
    return this;
  }

  public Boolean getConfidential() {
    return confidential;
  }

  public GetCustomAppIntegrationOutput setCreateTime(String createTime) {
    this.createTime = createTime;
    return this;
  }

  public String getCreateTime() {
    return createTime;
  }

  public GetCustomAppIntegrationOutput setCreatedBy(Long createdBy) {
    this.createdBy = createdBy;
    return this;
  }

  public Long getCreatedBy() {
    return createdBy;
  }

  public GetCustomAppIntegrationOutput setCreatorUsername(String creatorUsername) {
    this.creatorUsername = creatorUsername;
    return this;
  }

  public String getCreatorUsername() {
    return creatorUsername;
  }

  public GetCustomAppIntegrationOutput setIntegrationId(String integrationId) {
    this.integrationId = integrationId;
    return this;
  }

  public String getIntegrationId() {
    return integrationId;
  }

  public GetCustomAppIntegrationOutput setName(String name) {
    this.name = name;
    return this;
  }

  public String getName() {
    return name;
  }

  public GetCustomAppIntegrationOutput setRedirectUrls(Collection redirectUrls) {
    this.redirectUrls = redirectUrls;
    return this;
  }

  public Collection getRedirectUrls() {
    return redirectUrls;
  }

  public GetCustomAppIntegrationOutput setScopes(Collection scopes) {
    this.scopes = scopes;
    return this;
  }

  public Collection getScopes() {
    return scopes;
  }

  public GetCustomAppIntegrationOutput setTokenAccessPolicy(TokenAccessPolicy tokenAccessPolicy) {
    this.tokenAccessPolicy = tokenAccessPolicy;
    return this;
  }

  public TokenAccessPolicy getTokenAccessPolicy() {
    return tokenAccessPolicy;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    GetCustomAppIntegrationOutput that = (GetCustomAppIntegrationOutput) o;
    return Objects.equals(clientId, that.clientId)
        && Objects.equals(confidential, that.confidential)
        && Objects.equals(createTime, that.createTime)
        && Objects.equals(createdBy, that.createdBy)
        && Objects.equals(creatorUsername, that.creatorUsername)
        && Objects.equals(integrationId, that.integrationId)
        && Objects.equals(name, that.name)
        && Objects.equals(redirectUrls, that.redirectUrls)
        && Objects.equals(scopes, that.scopes)
        && Objects.equals(tokenAccessPolicy, that.tokenAccessPolicy);
  }

  @Override
  public int hashCode() {
    return Objects.hash(
        clientId,
        confidential,
        createTime,
        createdBy,
        creatorUsername,
        integrationId,
        name,
        redirectUrls,
        scopes,
        tokenAccessPolicy);
  }

  @Override
  public String toString() {
    return new ToStringer(GetCustomAppIntegrationOutput.class)
        .add("clientId", clientId)
        .add("confidential", confidential)
        .add("createTime", createTime)
        .add("createdBy", createdBy)
        .add("creatorUsername", creatorUsername)
        .add("integrationId", integrationId)
        .add("name", name)
        .add("redirectUrls", redirectUrls)
        .add("scopes", scopes)
        .add("tokenAccessPolicy", tokenAccessPolicy)
        .toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy