// SPDX-License-Identifier: Apache-2.0
import { StringFacade } from '../../facade/string-facade.js';
import { MutableFacadeArray } from '../../collection/mutable-facade-array.js';
export class Deployment {
    encapsulatedObject;
    clusterList;
    constructor(encapsulatedObject) {
        this.encapsulatedObject = encapsulatedObject;
        // eslint-disable-next-line @typescript-eslint/no-wrapper-object-types
        this.clusterList = new MutableFacadeArray(StringFacade, String, encapsulatedObject.clusters);
    }
    get name() {
        return this.encapsulatedObject.name;
    }
    set name(name) {
        this.encapsulatedObject.name = name;
    }
    get namespace() {
        return this.encapsulatedObject.namespace;
    }
    set namespace(namespace) {
        this.encapsulatedObject.namespace = namespace;
    }
    get realm() {
        return this.encapsulatedObject.realm;
    }
    set realm(realm) {
        this.encapsulatedObject.realm = realm;
    }
    get shard() {
        return this.encapsulatedObject.shard;
    }
    set shard(shard) {
        this.encapsulatedObject.shard = shard;
    }
    get clusters() {
        return this.clusterList;
    }
}
//# sourceMappingURL=deployment.js.map