com.databricks.sdk.service.settings.GetTokenManagementRequest Maven / Gradle / Ivy
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
package com.databricks.sdk.service.settings;
import com.databricks.sdk.support.Generated;
import com.databricks.sdk.support.ToStringer;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.Objects;
/** Get token info */
@Generated
public class GetTokenManagementRequest {
/** The ID of the token to get. */
@JsonIgnore private String tokenId;
public GetTokenManagementRequest setTokenId(String tokenId) {
this.tokenId = tokenId;
return this;
}
public String getTokenId() {
return tokenId;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
GetTokenManagementRequest that = (GetTokenManagementRequest) o;
return Objects.equals(tokenId, that.tokenId);
}
@Override
public int hashCode() {
return Objects.hash(tokenId);
}
@Override
public String toString() {
return new ToStringer(GetTokenManagementRequest.class).add("tokenId", tokenId).toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy