import { CommandBase } from '../validation/commandBase.js';
export default class TenantsExists extends CommandBase {
    className;
    tenant;
    constructor(client, className, tenant) {
        super(client);
        this.className = className;
        this.tenant = tenant;
    }
    validate = () => {
        // nothing to validate
    };
    do = () => {
        return this.client.head(`/schema/${this.className}/tenants/${this.tenant}`, undefined);
    };
}
