"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 environmentType_1 = __importDefault(require("./environmentType"));
class EnvironmentTypes extends collectionResource_1.default {
    constructor(clientSession, parentApi = '') {
        super(clientSession, 'environmentTypes', 'environmentType');
        const parentRoute = parentApi ? `${parentApi}/` : '';
        this._api = `${parentRoute}environmentTypes`;
    }
    // eslint-disable-next-line @typescript-eslint/naming-convention
    environmentType(id) {
        return new environmentType_1.default(id, this._clientSession, this._api);
    }
}
exports.default = EnvironmentTypes;
//# sourceMappingURL=environmentTypes.js.map