"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const collectionResource_1 = __importDefault(require("../base/collectionResource"));
const sshKey_1 = __importDefault(require("./sshKey"));
class SshKeys extends collectionResource_1.default {
    constructor(clientSession, parentApi = '') {
        super(clientSession, 'sshKeys', 'sshKey');
        const parentRoute = parentApi ? `${parentApi}/` : '';
        this._api = `${parentRoute}sshKeys`;
    }
    sshKey(id) {
        return new sshKey_1.default(id, this._clientSession, this._api);
    }
}
exports.default = SshKeys;
//# sourceMappingURL=sshKeys.js.map