com.databricks.sdk.service.sharing.RetrieveTokenRequest Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.sharing;
import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.Objects;
/** Get an access token */
@Generated
public class RetrieveTokenRequest {
/** The one time activation url. It also accepts activation token. */
@JsonIgnore private String activationUrl;
public RetrieveTokenRequest setActivationUrl(String activationUrl) {
this.activationUrl = activationUrl;
return this;
}
public String getActivationUrl() {
return activationUrl;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
RetrieveTokenRequest that = (RetrieveTokenRequest) o;
return Objects.equals(activationUrl, that.activationUrl);
}
@Override
public int hashCode() {
return Objects.hash(activationUrl);
}
@Override
public String toString() {
return new ToStringer(RetrieveTokenRequest.class)
.add("activationUrl", activationUrl)
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy