com.databricks.sdk.service.oauth2.CreateCustomAppIntegrationOutput Maven / Gradle / Ivy
// 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.Objects;
@Generated
public class CreateCustomAppIntegrationOutput {
/** OAuth client-id generated by the Databricks */
@JsonProperty("client_id")
private String clientId;
/**
* OAuth client-secret generated by the Databricks. If this is a confidential OAuth app
* client-secret will be generated.
*/
@JsonProperty("client_secret")
private String clientSecret;
/** Unique integration id for the custom OAuth app */
@JsonProperty("integration_id")
private String integrationId;
public CreateCustomAppIntegrationOutput setClientId(String clientId) {
this.clientId = clientId;
return this;
}
public String getClientId() {
return clientId;
}
public CreateCustomAppIntegrationOutput setClientSecret(String clientSecret) {
this.clientSecret = clientSecret;
return this;
}
public String getClientSecret() {
return clientSecret;
}
public CreateCustomAppIntegrationOutput setIntegrationId(String integrationId) {
this.integrationId = integrationId;
return this;
}
public String getIntegrationId() {
return integrationId;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
CreateCustomAppIntegrationOutput that = (CreateCustomAppIntegrationOutput) o;
return Objects.equals(clientId, that.clientId)
&& Objects.equals(clientSecret, that.clientSecret)
&& Objects.equals(integrationId, that.integrationId);
}
@Override
public int hashCode() {
return Objects.hash(clientId, clientSecret, integrationId);
}
@Override
public String toString() {
return new ToStringer(CreateCustomAppIntegrationOutput.class)
.add("clientId", clientId)
.add("clientSecret", clientSecret)
.add("integrationId", integrationId)
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy